Skip to content
Advertisement

Tag: selenium-webdriver

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 can I slide input[type=text] using selenium in python?

I am scraping from a dynamic website and I need to slide this input to certain range. The HTML for this shows that it’s an input[type=’text] with display:none in disguise. After sliding, the text box is set to “{minValue}{maxValue}” based on the sliders’ positions. I can’t set its values anyhow. I have tried: changing the display to block and then

Selenium can not find element from workera.ai

I am trying to scrape question answers from workera.ai but I am stuck because Selenium cannot find any element I searched for using class. When I check the page source the element is available but Selenium can not find it. Here is what I am doing. Signup using: https://workera.ai/candidates/signup I don’t know why it is happening. Does the site block

Advertisement