diprajpatra / selenium-stealth

Trying to make python selenium more stealthy.
MIT License
629 stars 89 forks source link

Changing WebGL Vendor/Renderer doesn't work #28

Open gzivdo opened 2 years ago

gzivdo commented 2 years ago

ss Running just example changing webgl, but with other options with or without pyvirtualdisplay it not changes everytime. Here my init code:

  opt = Options()
  s = Service(chromedriver)
  opt.add_experimental_option('prefs', {'intl.accept_languages': 'en,en_US'})
  opt.add_argument("user-data-dir=%s"%profile)
  opt.add_argument("--mute-audio")
  opt.add_argument('--disable-gpu')
  opt.add_argument('--no-first-run')
  opt.add_argument('--no-service-autorun')
  opt.add_argument('--disable-dev-shm-usage')
  opt.add_argument('--no-sandbox')
  opt.add_argument('--ignore-certificate-errors')
  opt.add_argument('--disable-blink-features=AutomationControlled')
  if proxy:
    opt.add_argument("--proxy-server=socks5://" + proxy)

  opt.add_experimental_option('excludeSwitches', ['enable-logging','enable-automation'])
  opt.add_experimental_option('useAutomationExtension', False)

  display = Display(visible=0, size=(1920, 1080))
  display.start()

  driver = webdriver.Chrome(service=s,options=opt)
  stealth(driver,
      languages=languages,
      vendor="Google Inc.",
      platform="Win32",
      webgl_vendor="Intel Inc.",
      renderer="Intel Iris OpenGL Engine",
      fix_hairline=True,
    )
  driver.maximize_window()
MASSKAgithub commented 1 year ago

Did you succeeded???

gzivdo commented 1 year ago

no

 

Воскресенье, 12 марта 2023, 0:22 +03:00 от Masska @.***>:     Did you succeeded??? — Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you authored the thread. Message ID: <diprajpatra/selenium-stealth/issues/28/1465022694 @ github . com>    

gzivdo gzivdo Отправлено из Почты Mail.ru  

MASSKAgithub commented 1 year ago

Idiot just copy pasta the example

Remove your stupid added options And remove all your browser extensions

If it still doesnt work then its a huge proof that you are a big brain retarded

KeeonTabrizi commented 1 year ago

Also can report WebGL Vendor/Renderer no langer passes https://bot.sannysoft.com/ tests.