Skip to content

Using Opera Browsers User Data in normal chromedriver? #102

@Avnsx

Description

@Avnsx

Hey, I am trying to launch normal chromedriver with a custom user profile doing

options.add_argument(f'--user-data-dir= ... AppData\\Roaming\\Opera Software\\Opera Stable')

This seems to work well for Chrome, Microsoft Edge & Brave ; but on Opera it fails.
More specifically I mean chromedriver generally launches and the opera user data profile directory is displaying below Profile when you check chrome://version with .... AppData\Roaming\Opera Software\Opera Stable\Default but for example, accounts that were stored in your user data are not logged in anymore, things like bookmarks etc are missing and so on.

I noticed that Opera does not even have the usually used user data pathing, which on other browsers looks like this (ending on \User Data):

... AppData\\Local\\Microsoft\\Edge\\User Data
... AppData\\Local\\Google\\Chrome\\User Data
... AppData\\Local\\BraveSoftware\\Brave-Browser\\User Data

Is there any way I can change my code to actually be able to launch a opera profile properly through normal chromedriver or any way at all?

Linked: ultrafunkamsterdam/undetected-chromedriver#803

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions