Questions tagged [undetected-chromedriver]

undetected-chromedriver is an optimized selenium.webdriver.Chrome drop-in, to prevent being triggered by anti-bot services like Distil / CloudFlare / Imperva / DataDome and such. main classes: Chrome, ChromeOptions

undetected-chromedriver

undetected_chromedriver is an optimized Selenium Chromedriver patch which does not trigger anti-bot services like Distill Network / Imperva / DataDome / Botprotect.io Automatically downloads the driver binary and patches it.

237 questions
13
votes
3 answers

`cannot connect to chrome at 127.0.0.1:37541` when using undetected-chromedriver with Python

After using Selenium, I decided to try undetected-chromedriver so I installed it using pip install undetected-chromedriver However, running this simple script import undetected_chromedriver.v2 as uc options =…
11
votes
1 answer

Getting blocked by a website with selenium and chromedriver

I'm having some trouble trying to access a web site (bet365.com) with a chrome driver and selenium (I'm quite being "blocked"). I can access the site with my ordinary chrome but when I try with chrome driver, it doesn't work. I had this problem…
7
votes
3 answers

chromedriver suddenly slow (scraping with python, selenium)

Have a python script running some scrapers using selenium and chromedriver. Have been scraping the same sites for a few years now with no issues. Starting last night, the same sites have started to load EXTREMELY slowly when loaded through…
6
votes
3 answers

Undetected chromedriver how to add proxy with username/password?

I am adding chrome options this way and it works if I use proxy ip authentication. options = webdriver.ChromeOptions() options.headless = True options.add_argument('--proxy-server=92.128.165.143:3399') driver =…
6
votes
3 answers

How to pass Desired Capabilities to Undetected Chromedriver with Selenium Python?

I'm using the Python package Undetected Chromedriver as I need to be able to log into a Google account with the webdriver, and I want to pass the options {"credentials_enable_service": False, "profile.password_manager_enabled": False} to the driver…
5
votes
1 answer

Chromedriver version 116 bug

Has anyone succeeded in fixing the bug with the new release? My current Chrome browser version is 116.0.5845.111 and I downloaded the Chrome driver version 116 from this source as they instructed and I'm sure the path to the Chrome driver is correct…
Moein
  • 167
  • 3
  • 11
5
votes
2 answers

OSError: [WinError 6] with undetected chromedriver

Exception ignored in: Traceback (most recent call last): File "C:\Users\kevin\AppData\Local\Programs\Python\Python311\Lib\site-packages\undetected_chromedriver\__init__.py", line 769, in __del__ …
5
votes
1 answer

Cloudflare and Chromedriver - cloudflare distinguishes between chromedriver and genuine chrome?

I would like to use chromedriver to scrape some stories from fanfiction.net. I try the following: from selenium import webdriver import time path = 'D:\chromedriver\chromedriver.exe' browser = webdriver.Chrome(path) url1 =…
4
votes
1 answer

Problem with twitch Selenium authorization

The problem is Twitch authorization using Selenium in Python. Help, all day I can not solve the problem. Tried different browsers, selenium undetected. Error "Your browser is not yet supported. Use the recommended browser or learn more". Who else…
4
votes
3 answers

Selenium/chrome driver keeps crashing "Chrome failed to start: exited normally" and "DevToolsActivePort file doesn't exist"

I am trying to run my script for selenium/chromedrive but keep getting the error below. Selenium ver 4.72 Chrome Browser version:Version 108.0.5359.125 (Official Build) (64-bit) ChromeDriver version: ChromeDriver 108.0.5359.71 Message: unknown…
4
votes
2 answers

Chromedriver unexpectedly exited. Status code was: -9

I seem to have a setup issue with my Chrome driver for selenium. I really can't figure out the issue. Does anyone know what this is caused by / how to fix? Sample Code from selenium import webdriver from selenium.webdriver.chrome.service import…
4
votes
0 answers

Cookies Not Enabled by Default With Headless Chrome in Selenium

I'm having trouble enabling cookies with headless chrome in Selenium. I thought they were supposed to be enabled by default, but when navigating to: https://www.whatismybrowser.com/detect/are-cookies-enabled, it says they are not enabled. Since…
asoingbob
  • 41
  • 2
3
votes
2 answers

Why can't I connect to Chrome when using the undetected chromedriver?

I am running a python script inside a docker container running https://hub.docker.com/r/dorowu/ubuntu-desktop-lxde-vnc/. The python script can be found below: import logging logging.basicConfig(level=logging.NOTSET) import undetected_chromedriver.v2…
3
votes
1 answer

Undetected Chromedriver is not bypassing in headless mode

I've tried to run my python selenium bot in --headless mode. Unfortunately with --headless mode it is not bypassing Cloudflare bot protection. Any ideas what would work there? options =…
Osc4r
  • 126
  • 1
  • 7
3
votes
1 answer

Problem with running of undetected_chromedriver on Linux(Gentoo)

i'm a new developer by Python and at this time i don't have enough experience to solve this problem. I have a problem when i'm starting the module undetected_chromedriver on Linux(Gentoo) I'm using : undetected_chromedriver version = 3.1.5r4, Python…
Mikhail
  • 41
  • 3
1
2 3
15 16