Closed igu closed 1 year ago
try following:
from selenium_profiles.webdriver import Chrome
from selenium_profiles.profiles import profiles
from selenium.webdriver.common.by import By # locate elements
from seleniumwire import webdriver
profile = profiles.Windows() # or .Android
options = webdriver.ChromeOptions()
options.add_argument("--headless=new")
driver = Chrome(profile, options=options,
uc_driver=False, chrome_binary="/usr/bin/google-chrome"
)
# get url
driver.get('https://abrahamjuliot.github.io/creepjs/') # test fingerprint
input("Press ENTER to exit: ")
driver.quit() # Execute on the End!
Describe the bug I am unable to execute the example from the readme of this repository.
To Reproduce
Expected behavior or error-message Open example Start Driver from README but catch on Error.
Environment
Additional context Python 3.8.12 version