kaliiiiiiiiii / Selenium-Driverless

undetected Selenium without usage of chromedriver
https://kaliiiiiiiiii.github.io/Selenium-Driverless/
Other
412 stars 52 forks source link

Detrection with VPN on Bet365 #128

Closed asliazas closed 7 months ago

asliazas commented 7 months ago

I used example code, but I see that bet365 detects driverless selenium

from selenium_driverless.sync import webdriver

options = webdriver.ChromeOptions()
with webdriver.Chrome(options=options) as driver:
    driver.get('https://bet365.com')
    driver.sleep(0.5)
    driver.wait_for_cdp("Page.domContentEventFired", timeout=15)

Website is loading forever image

kaliiiiiiiiii commented 7 months ago

@thekrakatoa please provide

asliazas commented 7 months ago

driverless version: 1.7 OS: Windows 11 professional

Turns out it doesn't work only when I have VPN enabled (Surfshark). Do you know why is that?

kaliiiiiiiiii commented 7 months ago

driverless version: 1.7 OS: Windows 11 professional

Turns out it doesn't work only when I have VPN enabled (Surfshark). Do you know why is that?

I see following possible issues:

  1. The IP of your VPN is flagged
  2. Using a VPN has leaks on Windows with Chrome
  3. You're using a chrome-extension for the VPN which is detectable.

Either way, I'd rather recommend using a paid residential proxy. Closing for now as there are other solutions and this issue is likely not adressable from driverless side.