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.05k stars 1.09k forks source link

driver detected in google.com login in headless #317

Open skndrvoip opened 2 years ago

skndrvoip commented 2 years ago

cannot login to google account with headless and in headful it works fine

i got captcha like this when use --headless while I'm using UserAgent Mozilla/5.0 (Linux; Ubuntu 16.04 like Android 4.4) AppleWebKit/537.36 Chromium/55.0.2883.75 Mobile Safari/537.36 im in windows

Screenshot_1
QuentiumYT commented 2 years ago

Hello, Google is a bit special, it recognize every suspicious activity that can occur while using an automated browser. I am doing the most anonymous browser you can set:

chrome_options = uc.ChromeOptions()

# All arguments to hide robot automation trackers

chrome_options.add_argument("--disable-blink-features=AutomationControlled")
chrome_options.add_argument("--no-first-run")
chrome_options.add_argument("--no-service-autorun")
chrome_options.add_argument("--no-default-browser-check")
chrome_options.add_argument("--disable-extensions")
chrome_options.add_argument("--disable-popup-blocking")
chrome_options.add_argument("--profile-directory=Default")
chrome_options.add_argument("--ignore-certificate-errors")
chrome_options.add_argument("--disable-plugins-discovery")
chrome_options.add_argument("--incognito")

browser = uc.Chrome(options=chrome_options, port=9000)

If you still have troubles trying to sign in to your google account, you can have a look at selenium-stealth here.

Hope it helps

mrbazzan commented 2 years ago

@skndrvoip Any update?

kaliiiiiiiiii commented 1 year ago

@mrbazzan @QuentiumYT @skndrvoip you can try to use Selenium_Profiles still in progress//working on btw

pedrofnts commented 11 months ago

@kaliiiiiiiiii could you help me with a bypass? pedro7fontes@gmail.com