kaliiiiiiiiii / Selenium-Driverless

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

Same script, different behaviour Linux/Windows #195

Closed javinair closed 6 months ago

javinair commented 6 months ago

Hello,

I'm developing a little Python script to fetch data from bet365.

That script works nicely on Windows, using selenium_driverless 1.7.1. I've moved that script to a Linux machine and, using the same script, and same requirements.txt (moved from the Windows machine to the Linux machine), I'm not able to reach bet365. It shows me the page saying that current markets are not available (I know that screen is shown when I've been detected).

This is the way I'm using your Chrome selenium_driverless (and it works perfect on Windows):

    options = webdriver.ChromeOptions()    
    async with webdriver.Chrome(options=options) as driver:
    [...]
    await driver.get('https://www.bet365.es/#/AS/B18/')

image

Chromium Versión 114.0.5735.133 (Build oficial) for Linux Mint (64 bits)
Chrome Versión 123.0.6312.86 (Build oficial) (64 bits)
Linux Mint 21.04

Is there anything I should keep in mind in order to make it work on Linux?

Thanks in advance.

kaliiiiiiiiii commented 6 months ago

Yep, that's fingerprinting. Which driverless does not cover yet

Not a bug in the code itsself tho