Quote:say, is there any way of doing this without having to run a browser window?PhantomJS
chromedriver = "D:\chromedriver_win32\chromedriver.exe" # the path to the chromedriver os.environ["webdriver.chrome.driver"] = chromedriver browser = webdriver.Chrome(chromedriver) # Change to browser = webdriver.PhantomJS(path_to_phantomjs.exe)