Open chimerasciences opened 3 years ago
Try adding
options.add_argument("--disable-blink-features=AutomationControlled")
from selenium import webdriver
from selenium_stealth import stealth
import time
options = webdriver.ChromeOptions()
options.add_argument("start-maximized")
# options.add_argument("--headless")
#options.add_argument("--disable-blink-features")
options.add_argument("--disable-blink-features=AutomationControlled")
options.add_experimental_option("excludeSwitches", ["enable-automation"])
options.add_experimental_option('useAutomationExtension', False)
driver = webdriver.Chrome(options=options)
stealth(driver,
languages=["en-US", "en"],
vendor="Google Inc.",
platform="Win32",
webgl_vendor="Intel Inc.",
renderer="Intel Iris OpenGL Engine",
fix_hairline=True,
)
url = "https://bot.sannysoft.com/"
driver.get(url)
you are awesome <3
It still detect me.
python --version
Python 3.9.1
pip==21.0
selenium==3.141.0
selenium-stealth==1.0.6
chromedriver/88.0.4324.96/chromedriver
You could try using https://github.com/kaliiiiiiiiii/Selenium-Profiles or undetected-chromedriver
Hey, thank you so much for your awesome plugin. Unfortunately the new webdriver started failing for me. Do you have any fixes you aim to implement?