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

Python undetectable_webdriver won't open in a loop

I am trying to open a site multiple times in a loop to test if different credentials have expired so that I can notify our users. I'm achieving this by opening the database, getting the records, calling the chrome driver to open the site, and…
0
votes
0 answers

undetected-chromedriver does not pass for

I ran the code: import undetected_chromedriver.v2 as uc driver = uc.Chrome() with driver: driver.get('https://www.ticketmaster.com/') and I am still getting the As you were browsing something about your browser made us think you were a bot…
0
votes
0 answers

Python Selenium New browser Identity each Run

Im kindly trying to register on a registration page but my goal is each time I do the loop I want a new chrome profile and cookies and proxy like a new device connected Im using rotational proxy and im sure my problem is not the proxy here class…
0
votes
0 answers

Selenium ChromeDriver python script can no longer find any elements on page

Selenium newb here. I've had a very simple python script to fill out a questionnaire working for about 3 weeks. I just noticed it was getting stuck on the 3rd question today, and when I cleared cache and rebooted, Selenium seemingly can't find any…
0
votes
1 answer

Changing user-agent in chrome Not Working in selenium webdriver python

self.options.add_argument("--headless") self.options.add_argument('--no-sandbox') self.options.add_argument("disable-infobars") # self.options.add_argument('--start-maximized') # self.options.add_argument('--start-fullscreen') …
0
votes
1 answer

Undetected_chromedriver log info not printing on console

I am using undetected_chromedriver bt its not printing log info like (Dev tool listening to...). I've used it previously and the same code was printing log info. Here is my code def get_chromedriver(): import undetected_chromedriver.v2 as uc …
Huzaifa Farooq
  • 116
  • 1
  • 10
0
votes
0 answers

Python + Selenium click postback links

I am attempting to scrape a page where a list of cases is displayed, and each case is a postback link which submits a form, and the response is the same page with a JavaScript popup of the details. I can request any one, but I've been unable to get…
Jason Bellows
  • 339
  • 2
  • 7
0
votes
1 answer

Undetected-Chromedriver Close Chrome Automatically After Few Seconds

I'm using: Python 3.9 Chrome 93.0.4577.63 ChromeDriver 93.0.4577.15 Undetected-Chromedriver 3.0.3 Windows 10 I use the most simple code to open Chrome: import undetected_chromedriver.v2 as uc driver = uc.Chrome () with driver: driver.get…
0
votes
0 answers

How the Selenium chrome --headless works?

folks! What's the real difference between basic and --headless mode in chromedriver used with selenium? I ask because I tried to track some prices at adidas.com, and when I set up my driver like: chrome_options = webdriver.ChromeOptions() browser =…
0
votes
1 answer

I'm setting the download path option and that exception is appears only when I used chromdriver.v2 as uc

Exception: selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: cannot parse capability: goog:chromeOptions from invalid argument: unrecognized chrome option: prefs Chrome options I'm using: import…
0
votes
1 answer

How to disable encoding of selenium undetected driver?

I am having trouble adding the option "disable_encoding" to the seleniumwire undetected chromedriver My code right now is as follows: # Configure chrome options options = uc.ChromeOptions() options.user_data_dir =…
0
votes
1 answer

So we made a discord bot that uses selenium and we decided to host it on heroku

So we made a discord bot that uses selenium and decided to host it on heroku but when we tried to access the the website a cloudflare captcha tests comes up and we are unable to get past it . We then found out about undetectable chromedriver but it…
0
votes
1 answer

How can i get cookie values by undetected_chromedriver.v2? The site uses cloudflare. It's python

I'm trying to get cookie values by undetected_chromedriver.v2. Here is my code: import undetected_chromedriver.v2 as uc driver = uc.Chrome() with driver: driver.get('https://thesite.com') driver.implicitly_wait(10) #waits until page loads (but it…
0
votes
3 answers

using selenium to get google search results without detection

I am trying to make a custom Index Check utility to check which URLs have been indexed by Google using Python and selenium I need to get the Google search results so that I can check weather the queried url exists in the results or not. I am able to…
danish2694
  • 199
  • 3
  • 16
0
votes
0 answers

How to avoid being recognized by ReCAPTCHA V2?

I've been doing some form-entry-stuffing tests in a buddy's website with Selenium by filling a form automatically. The form has a ReCaptcha box at the bottom which will give us nightmares for weeks. Basically, the first couple of entries I get in…
1 2 3
15
16