Skip to content
Advertisement

Tag: selenium-chromedriver

No Output While Running Selenium in Headless Mode, Working in Non Headless

“Questions seeking debugging help (“Why isn’t this code working?”) must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself.” The desired behavior is to create an output file of scraped pages as per this working code (in non headless mode) and here’s the shortest code necessary to reproduce

How to open multiple sites in Selenium with user input?

I’m fairly new to coding with Python and I had some questions regarding Selenium: So basically what I’m trying is: -user inputs multiple links to different sites -the script opens the first link and closes the browser afterwards and opens the next link -the user only inputs for example ‘google.com’ but the browser automatically opens ‘http://google.com’ (thats the reason why

Advertisement