undetected-chromedriver

Driver path is None but file location can be found

Driver path is None but file location can be found Question: I have a web scraper that uses Undetected Chromedriver & WebDriverManager to download & automate a Chromium webdriver. On Windows I initialize the Undetcted Chromedriver instance by passing the executable_path to the output of ChromeDriverManager().install(). This works fine. Now I am trying to Dockerize …

Total answers: 1

How to use WebDriverWait to send text within www.365sport365.com if iframe is present?

How to use WebDriverWait with undetected_chromedriver to send text within www.365sport365.com if iframe is present? Question: I wanted to make a script that searches for given matches, but it seems I’m unable to interact with the site and I’m not sure if it’s beacause there’s an iframe that I’m ignoring or the site has some …

Total answers: 1

How to load chrome options using undetected chrome

How to load chrome options using undetected chrome Question: So Im trying to modify the user agent of the chrome driven by undetected chrome to pretend I am a mobile user. it works with usual chrome driver but not the undetected one, I don’t sure what I have to change to make it work for …

Total answers: 1

Can't Login on Twitch with Selenium

Can't Login on Twitch with Selenium Question: 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 selenium import webdriver from selenium.webdriver.common.by …

Total answers: 4

start Selenium chrome driver minimized (or equivalent)

start Selenium chrome driver minimized (or equivalent) Question: I’m making a web scraping program, but to keep from being blocking by anti-scraping software I gotta keep the driver out of headless mode. sometimes I also need to restart the driver to clear the cookies, so whenever it opens back up I minimize it immediately, but …

Total answers: 1

Undetected Chromedriver issue when headless is on

Undetected Chromedriver issue when headless is on Question: import undetected_chromedriver.v2 as uc from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC def main(url): options = uc.ChromeOptions() options.headless = True driver = uc.Chrome(options=options) driver.get(url) try: WebDriverWait(driver, 10).until( EC.title_contains((‘Reservations’)) ) print(driver.title) except Exception as e: print(type(e).__name__) finally: driver.quit() if __name__ == "__main__": main(‘https://www.example.com/’) if headless = …

Total answers: 1

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

Message: unknown error: cannot connect to chrome at 127.0.0.1:55993 from chrome not reachable. pythonanywhere selenium undetected_chromedriver error Question: 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 selenium.webdriver.chrome.service import Service …

Total answers: 1

I got an error running undetected_chromedriver.v2 as uc

I got an error running undetected_chromedriver.v2 as uc Question: import undetected_chromedriver.v2 as uc driver = uc.Chrome() driver.get(‘https://nowsecure.nl’) enter image description here Asked By: dubleA || Source Answers: You must add "use_subprocess=True" to closure like this: import undetected_chromedriver.v2 as uc driver = uc.Chrome(use_subprocess=True) driver.get(‘https://nowsecure.nl’) Answered By: Lukáš Čimo driver = uc.Chrome(use_subprocess=True) When i try to use …

Total answers: 2