Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy configuration got stuck on chrome profile after being run with it with Seleniumbase #3014

Closed
ZoneLover opened this issue Aug 11, 2024 · 1 comment
Labels
duplicate The answer/solution already exists somewhere invalid usage You may need to change what you're doing UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode

Comments

@ZoneLover
Copy link

I run a profile with a proxy like the code below:
Screenshot 2024-08-11 150237

after I try to run it again without the proxy it shows me that it uses the same old proxy settings:
image
Screenshot 2024-08-11 150558

@mdmintz mdmintz added duplicate The answer/solution already exists somewhere invalid usage You may need to change what you're doing UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode labels Aug 11, 2024
@mdmintz
Copy link
Member

mdmintz commented Aug 11, 2024

Duplicate of #2596 (comment) / #2432 (comment) / #2331 (comment).

If you need multiple profiles, set a different user_data_dir for each one that you want. Only the Default profile is supported.

If you're setting the user_data_dir while using UC Mode, then make sure you read #2118 (comment) first. (Don't mix a regular user_data_dir with one that is used by UC Mode Chrome, as the two formats are not compatible.)

And once you set a proxy for a user_data_dir in UC Mode, you may have to use that same proxy if you're using that same user_data_dir. Use multiple user-data-dir folders if you need to use multiple proxies.

@mdmintz mdmintz closed this as completed Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate The answer/solution already exists somewhere invalid usage You may need to change what you're doing UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode
Projects
None yet
Development

No branches or pull requests

2 participants