ultrafunkamsterdam / undetected-chromedriver

Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)
https://github.com/UltrafunkAmsterdam/undetected-chromedriver
GNU General Public License v3.0
9.96k stars 1.16k forks source link

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

Open alimp5 opened 3 years ago

alimp5 commented 3 years ago

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 commented 3 years ago

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 commented 2 years ago

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

alimp5 commented 2 years ago

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 commented 2 years ago

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