diprajpatra / selenium-stealth

Trying to make python selenium more stealthy.
MIT License
607 stars 88 forks source link

Compatibility issue with webdriver remote #22

Open dalvarezdc opened 2 years ago

dalvarezdc commented 2 years ago

Hello guys, I am trying to use stealth with Chromedriver remote, and I think it's having compatibility issues with Selenium-Stealth, is there any way I can integrate selenium stealth with chromedriver?

Traceback (most recent call last): File "/code/bot/project/management/commands/launch_account_in_browser.py", line 29, in handle scraper.init_driver() File "/code/bot/project/scraper/project.py", line 83, in wrapped return func(*args, **kwargs) File "/code/bot/project/scraper/project.py", line 533, in init_driver fix_hairline=True, File "/usr/local/lib/python3.7/site-packages/selenium_stealth/__init__.py", line 41, in stealth raise ValueError("driver must is selenium.webdriver.Chrome, currently this lib only support Chrome") ValueError: driver must is selenium.webdriver.Chrome, currently this lib only support Chrome

Alfiec7113 commented 2 years ago

Did you get anywhere with this? Just wondering as I wanted to do the same

Wamy-Dev commented 2 years ago

I also cannot use it remotely. Same with selenium undetected.