selenium.common.exceptions.WebDriverException: Message: ‘chromedriver’ executable needs to be in PATH error with Headless Chrome
when i run my script , i got this error
when i run my script , i got this error
I’m working on a python script to web-scrape and have gone down the path of using Chromedriver as one of the packages. I would like this to operate in the background without any pop-up windows. I’m using the option ‘headless’ on chromedriver and it seems to do the job in terms of not showing the browser window, however, I still see the .exe file running. See the screenshot of what I’m talking about. Screenshot
I have this code that I’m using on my local machine:
I’m using python-selenium and Chrome 59 and trying to automate a simple download sequence. When I launch the browser normally, the download works, but when I do so in headless mode, the download doesn’t work.
Is it possible after setting selenium webdriver to a headless mode set it back to a normal mode?