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
0
votes
1 answer

Why is the button click not working in Selenium

why doesn't the applied button (button.click()) work in the code? import time import undetected_chromedriver as uc def press_button(): driver = uc.ChromeOptions() driver.headless=True driver.add_argument('--headless') driver =…
0
votes
0 answers

Can use selenium with chromium on aarch64 ubuntu 18.xx but when I try same with undetected_chromedriver it won't even start

I cannot get Undetected-ChromeDriver working on oracle A1 Ampere server with ubuntu 18.xx installed. I have latest available version of chromium and chromium-chromedriver and I can use everything normally when I use selenium library. But with…
0
votes
0 answers

Selenium driver randomly getting stuck

I am iterating through thousands of domains and using Selenium to visit all of them in a Windows Virtual Machine. My issue is that the driver I am using (undetected-chromedriver) keeps getting randomly stuck after a few hundred/thousand pages. It…
0
votes
0 answers

Undetected_chromedriver is detected Python (Selenium)

I am using selenium for loggin into the site and I decided to use undetected_chromedriver library. Everything was good, but after few tests, site detected me and I can`t make a loggin. But if I change a version of undetected_chromedriver it will…
0
votes
1 answer

undetected_chromedriver requires newer chromedriver - version than automatically provided

Before instantiating a new undetected-chromedriver - instance, I ensure that the latest ChromeDriver version is installed via the python-chromedriver-autoinstaller library as mentioned in this post: import…
0
votes
1 answer

Undetected Chromedriver Doesn't work even with the script they provide

Hi I'm using undetected_chromedriver in my python script, but about a month ago I ran into a problem. It was working fine, until one day the script displayed this error Traceback (most recent call last): File "D:\New folder\main.py", line 3, in…
0
votes
0 answers

undetected chromedriver stopped working after Chrome update

Using python with undetected chromedriver. After updating Chrome, I started getting the following error: `Exception has occurred: WebDriverException Message: unknown error: cannot connect to chrome at 127.0.0.1:61533 from session not created: This…
0
votes
4 answers

Can't Login on Twitch with Selenium

I have a problem to login on twitch with selenium. After the bot has entered the credentials (I also tried to enter them manually) the error message appears: "Something went wrong. Please try again." And it won't let me in. Any suggestions? from…
Piero
  • 404
  • 3
  • 7
  • 22
0
votes
1 answer

How to fix NameError When I call a function from another file

I wanted to log in to Gmail using selenium and undetected_chromedriver. Successfully logged in using these codes. My gmail_login.py files codes: from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from…
0
votes
1 answer

Message: unknown error: cannot connect to chrome at 127.0.0.1:55993 from chrome not reachable. pythonanywhere selenium undetected_chromedriver error

I am using selenium undetected chromedriver on pythonanywhere site. This is the part of my code: (I removed some parts of the code) from selenium import webdriver import time from selenium.webdriver.common.by import By from…
0
votes
2 answers

How to correctly specify the path to chromedriver in pythonanywhere project

I want to specify the path to a file in a python project on the pythonanywhere site. Unfortunately, I am getting an error. Here are pictures of the folder and console Code: driver = uc.Chrome(options=options,…
0
votes
1 answer

Bot on heroku - unable to scrap sites because of captcha even though everything works on my pc

I have simple bot on heroku which works with discord and scraps sites. Normally i use reuqests module to scrap sites, i get page source and that's all. (note: bot doesn't spam ping sites, only once per day/week, also site i'm pinging is epicgames,…
0
votes
1 answer

Opening a new tab with undetected chrome driver python

I was trying to open another tab using undetected chrome driver in python. I found that when I use the javascript way chrome blocks my pop-up. I can't figure out what I'm doing wrong. Here's my code. options =…
0
votes
1 answer

How to find the Email address field on Tiktok login page using Selenium and undetected_chromedriver

I want to log in to tik tok using selenium, but the typical selenium doesn't work there. Tik tok website is just detecting my selenium browser. Does anyone has any idea how to bypass that? I'm currently trying with undetectable chromedriver but my…
0
votes
0 answers

Import "undetected_chromedriver" could not be resolved

i got this error FileNotFoundError: [Errno 2] No such file or directory: '/Library/Frameworks/Python.framework/Versions/3.10/bin/pip' Requirement already satisfied: undetected_chromedriver in…
Code Ninja
  • 157
  • 4
  • 13