Skip to content

How to open a single chrome profile directly with seleniumbase? #2118

Closed Answered by mdmintz
pd2871 asked this question in Q&A
Discussion options

You must be logged in to vote

If using the user_data_dir option together with uc mode, the user_data_dir MUST be one that was created via tests running in uc mode. This means that you cannot use one that comes from your default Chrome browser. A regular Chrome browser would reconfigure the user_data_dir in a way such that uc mode would no longer be compatible with it.

Also, if using Windows, make sure that the path to your user_data_dir (and the user_data_dir itself) does not contain any spaces. There appears to be an external issue on Windows (I've heard) with selenium, undetected-chromedriver, and pyinstaller (outside the scope of SeleniumBase) which may cause problems if that path has spaces in it.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@caffenie
Comment options

@mdmintz
Comment options

@caffenie
Comment options

@mdmintz
Comment options

@floresernesto95
Comment options

Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants