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
0 answers

Running undetected-chromedriver under www-data user

I need to run this script from the web, but when I try to run it, I get: ` File "/var/www/StockCheck/include/sel.py", line 15, in options = uc.ChromeOptions() File…
0
votes
0 answers

Download folder path has not been changed in Python selenium using undetected_chromedriver when using headless mode

I cannot configure the path of downloading a file in headless mode with chrome but if I remove the headless mode, I can change the download path. The current behaviour downloading the file in the current directory of the running code with headless…
Pain
  • 111
  • 1
  • 2
  • 12
0
votes
1 answer

Is the undetected_chromedriver package safe to use?

Is the undetected_chromedriver package safe to use? Is this a widely used and trusted package that you would happily pip install and run? Thanks a lot
0
votes
0 answers

undetected_chromedriver can't use Remote browser

so I am currently using UC to bypass a bot protection on a website. For that, it works well but I recently used a new website that is called browserless.io . It is made to use selenium or other similarities, since this browserless.io is online…
0
votes
0 answers

python cannot make seleniumwire undetected_chromedriver working together

I have python 3.9 installed in a virtual environment. My virtual environment contains the following libraries: seleniumwire undetected_chromedriver I have also installed the certificate ca.ctr in my virtual environment root using the…
Dino
  • 1,307
  • 2
  • 16
  • 47
0
votes
0 answers

Cannot connect to chrome at 127.0.0.1 python undetected-chromedriver

Running the following on a machine running Ubuntu 22.094 LTS: chrome_options = Options() chrome_options.add_argument("--headless") chrome_options.add_argument("--no-sandbox") driver = uc.Chrome(executable_path='/home/samuel04/chromedriver',…
0
votes
2 answers

I'm using selenium undetected-chromedriver and I can't open multiple profiles at once and navigate through them

it only works for first profile and for others it just creates and open them with no actions. here is my code import undetected_chromedriver as uc from selenium.webdriver.chrome.options import Options import time open_from = 14 open_to =…
Tangr
  • 1
  • 1
0
votes
1 answer

Python clickable.. Button::Before

How do I posible make this code work.. I am trying to figure it out lately. but my code doesnt seems to work Here is the code that I have tried on Button::before... The send button will on appear when I type or add image.. Sendkey.ENTER doesnt work…
0
votes
1 answer

undetected_chromedriver working in full mode but failing in headless model (cloudflare)

I am trying to open a website using undetected_chromedriver with the headless model. The website is using Cloudflare. If I am using without a headless model then the script is working but when I use headless = True it shows a captcha. import…
0
votes
0 answers

WebDriverWait always getting TimeoutException

WebDriverWait(driver,15).until(EC.visibility_of_element_located((By.XPATH, "//*[@id='usernameInput-input']"))).send_keys("username") time.sleep(random.uniform(3,5)) WebDriverWait(driver,10).until(EC.visibility_of_element_located((By.XPATH,…
0
votes
1 answer

wrong address with undetect chrome driver

Why Do I get agent and profile data on address bar ? I tried with webdriver and there are no issue with it def new_agent(): agent_str = [ "Mozilla/6.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 " …
ghost239
  • 121
  • 7
0
votes
1 answer

Python Selenium Take a Screenshot Of An Whole Page Without Using Headless Mode

I need to take a screenshot of an element which is very long and not fit on the screen, I can use headless mode to do this but site doesn't allow me to do even with user-agent and other stuff. But I can access the site with undetectedChromeDriver,…
0
votes
2 answers

python undetected chromedriver fail to run

I'm scrapping a website using selenium but I get detected all the time. I decided to use Undetected chromedriver. But I get the following error Traceback (most recent call last): File "undt.py", line 746, in booter() File "undt.py",…
0
votes
0 answers

Python selenium out of memory

I face similar issue like Python Selenium Chrome/FireFox: Out Of Memory and after going through Chrome out of memory in selenium - no error thrown [duplicate] and other thread pointed to as where the question has been answered, I understood the…
0
votes
0 answers

webscraper blocked when entering username and pass

Im building a webscraper for a client right now, but its getting caught by the sites anti-scraping system "Bot Defender." Ive found that it only gets caught when I let the program enter the username or pass, but doesnt get caught if I enter it…