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.91k stars 1.16k forks source link

selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:65490 from session not created: This version of ChromeDriver only supports Chrome version 114 Current browser version is 116.0.5845.97 #1477

Closed mominurr closed 1 year ago

mominurr commented 1 year ago

Traceback (most recent call last): File "D:\Testing_all_project\test.py", line 27, in driver = uc.Chrome(options=options) File "D:\Testing_all_project\env\lib\site-packages\undetected_chromedriver__init.py", line 466, in init super(Chrome, self).init( File "D:\Testing_all_project\env\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 49, in init super().init( File "D:\Testing_all_project\env\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 54, in init
super().
init( File "D:\Testing_all_project\env\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 206, in init self.start_session(capabilities) File "D:\Testing_all_project\env\lib\site-packages\undetected_chromedriver\init__.py", line 724, in start_session
super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session( File "D:\Testing_all_project\env\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 291, in start_session
response = self.execute(Command.NEW_SESSION, caps)["value"] File "D:\Testing_all_project\env\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 346, in execute self.error_handler.check_response(response) File "D:\Testing_all_project\env\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 245, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:65490 from session not created: This version of ChromeDriver only supports Chrome version 114 Current browser version is 116.0.5845.97 Stacktrace: Backtrace: GetHandleVerifier [0x00E0A813+48355] (No symbol) [0x00D9C4B1] (No symbol) [0x00CA5358] (No symbol) [0x00CC61AC] (No symbol) [0x00CC06B4] (No symbol) [0x00CC0491] (No symbol) [0x00CF0C55] (No symbol) [0x00CF093C] (No symbol) [0x00CEA536] (No symbol) [0x00CC82DC] (No symbol) [0x00CC93DD] GetHandleVerifier [0x0106AABD+2539405] GetHandleVerifier [0x010AA78F+2800735] GetHandleVerifier [0x010A456C+2775612] GetHandleVerifier [0x00E951E0+616112] (No symbol) [0x00DA5F8C] (No symbol) [0x00DA2328] (No symbol) [0x00DA240B] (No symbol) [0x00D94FF7] BaseThreadInitThunk [0x762600C9+25] RtlGetAppContainerNamedObjectPath [0x77B07B1E+286] RtlGetAppContainerNamedObjectPath [0x77B07AEE+238]

n0xrb commented 1 year ago

I downloaded the stable (binary) Version: 116.0.5845.96 (r1160321) from the following link and entered the path manually in the Chrome instance (https://googlechromelabs.github.io/chrome-for-testing/#stable)

driver = uc.Chrome(driver_executable_path=r"C:\\XXXXXXXXX\\chromedriver.exe")

FerCipriani commented 1 year ago

I have a similar problem: Chrome has been updated to version 116; I download the CromeDriver 116.0.5845.96 but Selenium says it's version 114: "This version of ChromeDriver only supports Chrome version 114 Current browser version is 116.0.5845.97"

It doesn't work to download version 116 of chromedriver!!!

Greetings,

jdholtz commented 1 year ago

@FerCipriani you can download my fork for now which contains the fix. The pip command can be found in the comments of PR #1478.

mdmintz commented 1 year ago

@FerCipriani See https://github.com/ultrafunkamsterdam/undetected-chromedriver/issues/1477#issuecomment-1680867979

hkrcs96 commented 1 year ago

I did a temporary thing, chrome_options = uc.ChromeOptions() chrome_options.binary_location = os.getcwd()+"/Google/Chrome/Application/chrome.exe"

where the path goes to an earlier version of chrome (115) so it will work, what you need to have is chrome version 115 or another browser based

Renxioayi commented 1 year ago

If you are using Chrome version 115 or newer, please consult the Chrome for Testing availability dashboard. This page provides convenient JSON endpoints for specific ChromeDriver version downloading.

roshanmns123 commented 1 year ago

the same issue is happening in my case also

alikazerani commented 1 year ago

@Arikelly, since it is a fork, you can install it with the following command:

pip install -e git+https://github.com/jdholtz/undetected-chromedriver.git@f91b7d86bc257d4cb9bfc848266e82509868e2c6#egg=undetected_chromedriver

Worked perfectly! Thank you, @jdholtz!

theskid31 commented 1 year ago

@Arikelly, since it is a fork, you can install it with the following command:

pip install -e git+https://github.com/jdholtz/undetected-chromedriver.git@f91b7d86bc257d4cb9bfc848266e82509868e2c6#egg=undetected_chromedriver

Worked perfectly! Thank you, @jdholtz!

im getting error

PS F:\f2> pip install -e git+https://github.com/jdholtz/undetected-chromedriver.git@f91b7d86bc257d4cb9bfc848266e82509868e2c6#egg=undetected_chromedriver Obtaining undetected_chromedriver from git+https://github.com/jdholtz/undetected-chromedriver.git@f91b7d86bc257d4cb9bfc848266e82509868e2c6#egg=undetected_chromedriver Cloning https://github.com/jdholtz/undetected-chromedriver.git (to revision f91b7d86bc257d4cb9bfc848266e82509868e2c6) to f:\f2\src\undetected-chromedriver ERROR: Error [WinError 2] The system cannot find the file specified while executing command git version ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH? PS F:\f2>

when entering in windows terminal admin and cmd admin on no permisiions drive? anyone help

jdholtz commented 1 year ago

when entering in windows terminal admin and cmd admin on no permisiions drive? anyone help

You have to install Git on your machine.

By the way, that link for my fork is outdated. I recommend you go to the first comment of my PR to get the latest changes I made.

kohonez commented 1 year ago

@Arikelly, since it is a fork, you can install it with the following command:

pip install -e git+https://github.com/jdholtz/undetected-chromedriver.git@f91b7d86bc257d4cb9bfc848266e82509868e2c6#egg=undetected_chromedriver

I'm having issues with this fork of undetected-chromedriver. Now, Chrome remains open and doesn't close, consuming all the RAM memory. old version does not have the issue

irfanlogisly commented 1 year ago

Thanks,

  • I'm working with java and not js.
  • Downloaded chromedriver versions 114 (after this also116), add the path to the code and run: System.setProperty("webdriver.chrome.driver", "C:\Users...\tmp\chromedriver.exe"); WebDriver driver = new ChromeDriver(); - browser crash after a second.
  • Tried with WebDriverManager.chromedriver().driverVersion("114.0.5735.90").setup(); - Browser crash after a second with an error: Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 114 Current browser version is 116.0.5845.97 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe.
  • Tried WebDriverManager.chromedriver().driverVersion("116.0.5845.97").setup();- browser crash after a second with an error: SessionNotCreatedException: Could not start a new session. Response code 500. Message: unknown error: Chrome failed to start: crashed. (chrome not reachable)
  • Everything worked fine until the chrome version upgraded to 116.

Thanks again

i still facing issue using "WebDriverManager.chromedriver().driverVersion("116.0.5845.97").setup();**", could you help to share all your chrome option ?

nabe14 commented 1 year ago

I have rewritten from "driver = uc.Chrome(options = options)" to "driver = uc.Chrome(driver_executable_path={chrome_driver_path},options = options)" And,I reinstalled undetected-chromedriver. And, I installed chromedriver from https://googlechromelabs.github.io/chrome-for-testing/#stable Only that. Perfectlly Resolved. No Git needed in my case. I use Windows.

kirby7802 commented 1 year ago

For my solution, I installed the chrome for testing browser, and install the chrome driver. on the code I would do like this driver = uc.Chrome(options=options,driver_executable_path={driver_executable_path},browser_executable_path={browser_executable_path}) no update required

hamed-jamali-software commented 1 year ago

This code works better than any other

Download this first:

list Chromedriver

download version 116 Chromedriver for win64

Chromedriver 116

options = uc.ChromeOptions() options.add_argument('--no-sandbox') options.add_argument('--disable-dev-shm-usage')

enable browser logging

d = DesiredCapabilities.CHROME d["goog:loggingPrefs"] = {"browser": "INFO"}

chromedriver_path = r"D:\chromedriver.exe" driver = uc.Chrome(driver_executable_path=chromedriver_path, use_subprocess=True, options=options, desired_capabilities=d)

boboboomY commented 1 year ago

no use

davidal381 commented 1 year ago

Thanks,

  • I'm working with java and not js.
  • Downloaded chromedriver versions 114 (after this also116), add the path to the code and run: System.setProperty("webdriver.chrome.driver", "C:\Users...\tmp\chromedriver.exe"); WebDriver driver = new ChromeDriver(); - browser crash after a second.
  • Tried with WebDriverManager.chromedriver().driverVersion("114.0.5735.90").setup(); - Browser crash after a second with an error: Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 114 Current browser version is 116.0.5845.97 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe.
  • Tried WebDriverManager.chromedriver().driverVersion("116.0.5845.97").setup();- browser crash after a second with an error: SessionNotCreatedException: Could not start a new session. Response code 500. Message: unknown error: Chrome failed to start: crashed. (chrome not reachable)
  • Everything worked fine until the chrome version upgraded to 116.

Thanks again

i still facing issue using "WebDriverManager.chromedriver().driverVersion("116.0.5845.97").setup();**", could you help to share all your chrome option ?

chrome option : ChromeOptions optionsHeadless = new ChromeOptions(); optionsHeadless.addArguments("--headless"); optionsHeadless.addArguments("window-size=1920x1080"); optionsHeadless.addArguments( "--no-sandbox"); optionsHeadless.addArguments("--remote-allow-origins=*");

davidal381 commented 1 year ago

This code works better than any other

Download this first:

list Chromedriver

download version 116 Chromedriver for win64

Chromedriver 116

options = uc.ChromeOptions() options.add_argument('--no-sandbox') options.add_argument('--disable-dev-shm-usage')

enable browser logging

d = DesiredCapabilities.CHROME d["goog:loggingPrefs"] = {"browser": "INFO"}

chromedriver_path = r"D:\chromedriver.exe" driver = uc.Chrome(driver_executable_path=chromedriver_path, use_subprocess=True, options=options, desired_capabilities=d)

Thanks, it works for me. Added the --disable-dev-shm-usage to the options:

ChromeOptions options = new ChromeOptions(); options .addArguments("--headless"); options .addArguments("window-size=1920x1080"); options .addArguments( "--no-sandbox"); options .addArguments("--remote-allow-origins=*"); options .addArguments("--disable-dev-shm-usage");

And add the version to the webdriver manager: WebDriverManager.chromedriver().driverVersion("116.0.5845.96").setup();

boboboomY commented 1 year ago

It works for me pip uninstall undetected_chromedriver pip install undetected_chromedriver

misjorge commented 1 year ago

I am using wdio and I am having the same issue with chrome 116.0.5845.97, please advice

martinpolu commented 1 year ago

This code works better than any other

Download this first:

list Chromedriver

download version 116 Chromedriver for win64

Chromedriver 116

options = uc.ChromeOptions() options.add_argument('--no-sandbox') options.add_argument('--disable-dev-shm-usage')

enable browser logging

d = DesiredCapabilities.CHROME d["goog:loggingPrefs"] = {"browser": "INFO"}

chromedriver_path = r"D:\chromedriver.exe" driver = uc.Chrome(driver_executable_path=chromedriver_path, use_subprocess=True, options=options, desired_capabilities=d)

Hi! What should I include in the line:

d = DesiredCapabilities.CHROME

Thanks!

YanisFallet commented 1 year ago

so who achieved to fix the problem ?

jdholtz commented 1 year ago

@YanisFallet you can use my fork (see #1478) to fix the issue until it is merged

FerCipriani commented 1 year ago

@FerCipriani you can download my fork for now which contains the fix. The pip command can be found in the comments of PR #1478.

Hello, yes, I used it and it really works. I have a case where it doesn't and I'm working on it. Thanks a lot!

YanisFallet commented 1 year ago

it seems that undetected chromedriver doesn't work anymore for ARM

JaberHaisan commented 1 year ago

It works for me pip uninstall undetected_chromedriver pip install undetected_chromedriver

You can do it in one line with: pip install --upgrade undetected_chromedriver

ultrafunkamsterdam commented 1 year ago

Correct pip name is with dash not underscore

EarendeIl commented 1 year ago

回溯(最近一次调用最后一次): 文件“D:\Testing_all_project\test.py”,第 27 行,在 driver = uc.Chrome(options=options) 文件“D:\Testing_all_project\env\lib\site-packages\unDetectedchromedriver init _.py”,第 466 行,在init super(Chrome, self) 中。init ( 文件 "D:\Testing_all_project\env\lib\site-packages\selenium\webdriver\chrome\webdriver.py",第 49 行,在 init super( ) 中。init ( 文件 "D:\Testing_all_project\env\lib\ site-packages\selenium\webdriver\chromium\webdriver.py",第 54 行,在init super() 中。init ( 文件“D:\Testing_all_project\env\lib\site-packages\selenium\webdriver\remote\webdriver.py”,第 206 行,在 init self.start_session (功能)中 文件“D:\Testing_all_project\env\lib\site- packages\unDetectedchromedriver init _.py",第 724 行,在 start_session super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session( File "D:\Testing_all_project\env\lib\site-packages\selenium\webdriver\ Remote\webdriver.py",第 291 行,在 start_session 响应 = self.execute(Command.NEW_SESSION, caps)["value"] 文件 "D:\Testing_all_project\env\lib\site-packages\selenium\webdriver\remote\ webdriver.py”,第 346 行,执行 self.error_handler.check_response(response) 文件“D:\Testing_all_project\env\lib\site-packages\selenium\webdriver\remote\errorhandler.py”,第 245 行,在 check_response 中 引发异常_类(消息、屏幕、堆栈跟踪) selenium.common.exceptions.WebDriverException:消息:未知错误:无法从未创建的会话连接到 127.0.0.1:65490 的 chrome :此版本的 ChromeDriver 仅支持 Chrome 版本 114 当前浏览器版本为 116.0.5845.97 Stacktrace: Backtrace: GetHandleVerifier [0x00E0A813+48355] (无符号)[0x00D9C4B1 ] (无符号) [0x00CA5358] (无符号) [0x00CC61AC] (无符号) [0x00CC06B4] (无符号) [0x00CC0491] (无符号) [0x00CF0C55] (无符号) [0x00CF093C] (无符号) [0x00CEA536] (无符号) [0x00CC82DC] (无符号) [0x00CC93DD] GetHandleVerifier [0x0106AABD+2539405] GetHandleVerifier [ 0x010AA78F+2800735] GetHandleVerifier [0x010A456C+2775612] GetHandle验证器[0x00E951E0+616112] (无符号)[ 0x00DA5F8C] (无符号)[0x00DA2328] (无符号)[0x00DA240B] (无符号)[0x00D94FF7] BaseThreadInitThunk [0x762600C9+25] RtlGetAppContainerNamedObjectPath [0x77B07B1E+286] RtlGetAppContainerNamedObjectPath [0x77B07AEE+ 238]

because your chromedriver is no longer suitable for the current version,Downloading a new driver solves the problem,https://googlechromelabs.github.io/chrome-for-testing/

JeffJna commented 1 year ago

Step 1: Download ChromeDriver

Download ChromeDriver from the official downloads page. Make sure to choose the appropriate version for your operating system.

Step 2: Extract ChromeDriver

After downloading, extract the zip file to a location of your choice. For example, you can extract it to the root of your C:\ drive.

Step 3: Configure PATH

Step 4: Open Git Bash terminal or your preferred terminal and add the path to ChromeDriver to your PATH.

Make sure to use forward slashes ("/") in the path to ChromeDriver on Windows. Replace "/c" with the drive where you extracted ChromeDriver:

export PATH=$PATH:/c/chromedriver-win32

Step 5: Check if ChromeDriver is configured correctly by running the following command:

chromedriver --version

You should see the ChromeDriver version returned, e.g., "116.0.5845.96."

Step 6: In your automated testing project, configure WebDriverManager to use the specific version of ChromeDriver you installed. For example:

WebDriverManager.chromedriver().driverVersion("116.0.5845.96").setup(); WebDriver driver = new ChromeDriver();

Obs. my pom.xml

    <dependency>
        <groupId>io.github.bonigarcia</groupId>
        <artifactId>webdrivermanager</artifactId>
        <version>5.4.1</version>
        <scope>test</scope>
    </dependency>

I followed these steps, and it worked perfectly for me.

CameronJGrant commented 1 year ago

I'm using undetected chromedriver but it is detected by cloudflare, My browser version is 116. Was the Cloudflare upgraded?

The Chromedriver binary needs to be patched in order to be undetectable. If you are downloading the file yourself, it's not patched. May as well be using regular old selenium.

irfanlogisly commented 1 year ago

This code works better than any other

Download this first:

list Chromedriver

download version 116 Chromedriver for win64

Chromedriver 116 options = uc.ChromeOptions() options.add_argument('--no-sandbox') options.add_argument('--disable-dev-shm-usage')

enable browser logging

d = DesiredCapabilities.CHROME d["goog:loggingPrefs"] = {"browser": "INFO"} chromedriver_path = r"D:\chromedriver.exe" driver = uc.Chrome(driver_executable_path=chromedriver_path, use_subprocess=True, options=options, desired_capabilities=d)

Thanks, it works for me. Added the --disable-dev-shm-usage to the options:

ChromeOptions options = new ChromeOptions(); options .addArguments("--headless"); options .addArguments("window-size=1920x1080"); options .addArguments( "--no-sandbox"); options .addArguments("--remote-allow-origins=*"); options .addArguments("--disable-dev-shm-usage");

And add the version to the webdriver manager: WebDriverManager.chromedriver().driverVersion("116.0.5845.96").setup();

Thanks for sharing, may i know did you use dependency selenium driver that put on pom.xml or chrome driver path ?

irfanlogisly commented 1 year ago

WebDriverManager.chromedriver().driverVersion("116.0.5845.96").setup();

i still facing this error Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 114

this my chrome option : WebDriverManager.chromedriver().driverVersion("116.0.5845.96").setup(); //Create a map to store preferences Map<String, Object> prefs = new HashMap<>(); //add key and value to map as follow to switch off browser notification //Pass the argument 1 to allow and 2 to block prefs.put("profile.default_content_setting_values.notifications", 2); // set ExperimentalOption - prefs chromeOptions.setExperimentalOption("prefs", prefs); chromeOptions.addArguments("--remote-allow-origins=*"); chromeOptions.addArguments("--incognito"); // chromeOptions.addArguments("--headless"); // chromeOptions.addArguments("--start-maximized"); chromeOptions.addArguments("window-size=1366,768"); chromeOptions.setExperimentalOption("excludeSwitches", Collections.singletonList("enable-automation")); chromeOptions.setExperimentalOption("useAutomationExtension", false); chromeOptions.addArguments("--no-sandbox"); chromeOptions.addArguments("--disable-dev-shm-usage"); chromeOptions.addArguments("--disable-gpu");

irfanlogisly commented 1 year ago

work fine on my side if you using maven framework, update selenium and webdriver dependency to the latest version on pom.xlm

org.seleniumhq.selenium selenium-java 4.11.0 io.github.bonigarcia webdrivermanager 5.4.1
OrianShamriz commented 1 year ago

This one maybe can help you guys :) https://www.youtube.com/watch?v=MWVzCuTK2bs&t=1s

knagode commented 1 year ago

Mac: After replacing chromedriver in /usr/local/bin/, make sure that you run it first in order to allow execution from unverified developers (System Preferences -> Security)

JeffJna commented 1 year ago

This code works better than any other

Download this first:

list Chromedriver

download version 116 Chromedriver for win64

Chromedriver 116 options = uc.ChromeOptions() options.add_argument('--no-sandbox') options.add_argument('--disable-dev-shm-usage')

enable browser logging

d = DesiredCapabilities.CHROME d["goog:loggingPrefs"] = {"browser": "INFO"} chromedriver_path = r"D:\chromedriver.exe" driver = uc.Chrome(driver_executable_path=chromedriver_path, use_subprocess=True, options=options, desired_capabilities=d)

Thanks, it works for me. Added the --disable-dev-shm-usage to the options: ChromeOptions options = new ChromeOptions(); options .addArguments("--headless"); options .addArguments("window-size=1920x1080"); options .addArguments( "--no-sandbox"); options .addArguments("--remote-allow-origins=*"); options .addArguments("--disable-dev-shm-usage"); And add the version to the webdriver manager: WebDriverManager.chromedriver().driverVersion("116.0.5845.96").setup();

Thanks for sharing, may i know did you use dependency selenium driver that put on pom.xml or chrome driver path ?

    <dependency>
        <groupId>io.github.bonigarcia</groupId>
        <artifactId>webdrivermanager</artifactId>
        <version>5.4.1</version>
        <scope>test</scope>
    </dependency>
adrianhorning08 commented 1 year ago

I used homebrew to install the latest version brew install --cask chromedriver and then updated the path driver_executable_path="/usr/local/bin/chromedriver",

masterkikoman commented 1 year ago

Does anyone try the lastet using JAVA and MAVEN? my code is not working via remote driver but when I add the actual path of chrome driver to my code, it's working. Do you know how can I fix this error? I already add the latest version of the chrome driver in my POM.xml in this maven repo https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-chrome-driver But I still encounter that error.

fishtown commented 1 year ago

pip install -e git+https://github.com/jdholtz/undetected-chromedriver.git@f91b7d86bc257d4cb9bfc848266e82509868e2c6#egg=undetected_chromedriver This is worked for me. Thank you everybody.

It works perfect and it seems the BKM

jdholtz commented 1 year ago

@fishtown FYI that is the first version. I’ve made a few changes (mostly related to Mac) in the most recent version. You can find the install link in the first comment of my PR (#1478)

irfanlogisly commented 1 year ago

Hi All, Anyone facing issue on chrome driver 116.0.5845.111 for selenium ?

ultrafunkamsterdam commented 1 year ago

just updated the package to 3.5.3 including @jdholtz pr

Jmsestrada commented 1 year ago

@h656 what happens if you don’t specify the version_main? Also, are you sure you are using my changes on the correct branch?

from session not created: This version of ChromeDriver only supports Chrome version 114 Current browser version is 116.0.5845.97

im getting this error

jdholtz commented 1 year ago

@Jmsestrada use version 3.5.3 of undetected chromedriver

ericdwkim commented 8 months ago

Adding this in case others stumble onto this. This uses a combination of selenium version 4+'s Service class and sets the executable_path to ChromeDriverManager().install() and it worked for me. This beats having to constantly update via homebrew.

from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from webdriver_manager.chrome import ChromeDriverManager

        web_driver = webdriver.Chrome(
            service=Service(executable_path=ChromeDriverManager().install()),
            options=opts
        )

Console output

/Users/ekim/opt/anaconda3/envs/bots/bin/python -m src.app.__main__ 
2024-02-21 12:13:14,064 - INFO - Initializing ChromeDriver...
2024-02-21 12:13:14,064 - INFO - ====== WebDriver manager ======
2024-02-21 12:13:14,380 - INFO - Get LATEST chromedriver version for google-chrome
2024-02-21 12:13:14,384 - INFO - Get LATEST chromedriver version for google-chrome
2024-02-21 12:13:14,384 - INFO - There is no [mac64] chromedriver "122.0.6261.57" for browser google-chrome "122.0.6261.57" in cache
2024-02-21 12:13:14,395 - INFO - Get LATEST chromedriver version for google-chrome
2024-02-21 12:13:14,609 - INFO - WebDriver version 122.0.6261.57 selected
2024-02-21 12:13:14,610 - INFO - Modern chrome version https://storage.googleapis.com/chrome-for-testing-public/122.0.6261.57/mac-x64/chromedriver-mac-x64.zip
2024-02-21 12:13:14,610 - INFO - About to download new driver from https://storage.googleapis.com/chrome-for-testing-public/122.0.6261.57/mac-x64/chromedriver-mac-x64.zip
2024-02-21 12:13:14,836 - INFO - Driver downloading response is 200
2024-02-21 12:13:15,305 - INFO - Get LATEST chromedriver version for google-chrome
2024-02-21 12:13:15,430 - INFO - Driver has been saved in cache [/Users/ekim/.wdm/drivers/chromedriver/mac64/122.0.6261.57]

Process finished with exit code 0
plexydraw commented 3 months ago

How can you avoid selenium detection on twitch?

plexydraw commented 3 months ago

I have a problem with the detection of the chromedriver browser because if I do it manually it allows me to register but when the forms are completed automatically with selenium it tells me that the browser is not compatible and it does not let me finish the registration this happens to me on twitch. Does anyone know any solution?

hikmetazimzade commented 3 months ago

Highly recommend you to take a look at this solution: https://stackoverflow.com/questions/78791988/cannot-connect-to-chrome-at-127-0-0-153233-this-version-of-chromedriver-only-s

xthomas8888 commented 2 weeks ago

I experienced a similar but different issue.

My error is: This version of ChromeDriver only supports Chrome version 130 Current browser version is 129.0.6668.101.

Checked Chromedriver JSON Endpoints. Looks like undeteced_chromedriver does not work for a previous version when new stablized version is released (In this case, not working for version 129 since 130 has been released) even though with configuring driver_executable_path to a downloaded previous chromedriver via Chromedrivermanager. Any thoughts on this other than manually updating Chrome browser (which I did and it worked),