diprajpatra / selenium-stealth

Trying to make python selenium more stealthy.
MIT License
607 stars 88 forks source link

Typo in error reported if driver is not Driver instance #10

Open austinweisgrau opened 3 years ago

austinweisgrau commented 3 years ago

From stealth() in init.py:

if not isinstance(driver, Driver):
        raise ValueError("driver must is selenium.webdriver.Chrome, currently this lib only support Chrome")

I got stuck here for a minute because this error is supposed to read something like "driver argument must be an instance of selenium.webdriver.Chrome"