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

How to run multi undetected_chromedriver in Selenium Grid Server? #286

Open
alimp5 opened this issue Aug 25, 2021 · 4 comments
Open

How to run multi undetected_chromedriver in Selenium Grid Server? #286

alimp5 opened this issue Aug 25, 2021 · 4 comments

Comments

@alimp5
Copy link

alimp5 commented Aug 25, 2021

Title:
How to run multi undetected-chromedriver in Selenium Grid Server (Standalone Mode)?

Problem:
I want to run multiple undetected-chromedrivers at same time via Python Multi-Processing or Multi-Threading to open multi browsers to show content of multi URLs.
Note: I don't want to do it sequential..... :(
I want juuuuuuust to run Chrome Browser multiple times at same time (just via chrome).

Can i do it with Standalone mode !? or i should use Hub and Node mode !?

I'm in Windows 10 - 64 bit.

How i can do it !?

@alimp5
Copy link
Author

alimp5 commented Aug 25, 2021

options = uc.ChromeOptions()
options.user_data_dir = '..........'
....
....
options.add_argument('--no-first-run --no-service-autorun --password-store=basic')
driver = uc.Chrome (options=options)

How to implement and add the Remote WebDriver in undetected-chromedriver !!??

https://selenium-python.readthedocs.io/getting-started.html#selenium-remote-webdriver

@Anticope12
Copy link

Hi @alimp5 , Quick question, were you able to run it on a server?

@alimp5
Copy link
Author

alimp5 commented May 16, 2022

Hi @Anticope12 : X : X
which server?.
for my previews project, i switched to selenium 4.x.
because i didn't know how to tune undetect-driver library for me needs.

@Anticope12
Copy link

Hi @alimp5 ,
Thank you for getting back to me.
Webdrive.remote :ip//4444 that what I was referring to by service.

I've been trying multiple different channels but non of it was successful.

I'm wondering if you can share your your code with me just to test it out. And use it as alternative.

Thank you again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants