All Questions
Tagged with selenium or selenium-webdriver
157,745 questions
1 vote
2 answers
49 views
How do I code a CSS Selector to find a specific button, click on it, and wait until the webpage has completed the clicked task?
I have a working web scraper written in Python, Selenium and Chromedriver (all up-to-date version wise) and various other software packages. The target webpage has a field for the phone number, but ...
0 votes
0 answers
136 views
404 on certain files on select devices after repeated visits [closed]
I run a webserver on my local network to host my movie collection. I also have a custom android app running on an amazon fire stick. Recently I have been working to enable video playback from external ...
1 vote
3 answers
91 views
How to handle multiple <img> elements with the same ID in Selenium (auto-detect and interact)? [closed]
How can I handle multiple <img> elements in Selenium when all of them have the same id attribute? I need a way to automatically detect and interact with these images, even though they share the ...
1 vote
0 answers
51 views
ModuleNotFoundError: No module named 'webdrivermanager' with Spyder
Question: Why do I get the error I get, although to me it seems that the webdriver is in PATH? Problem description and context: I am trying to do some coding that requires using the webdriver manager ...
0 votes
0 answers
53 views
How do you connect to RSelenium local server with rsDriver()?
I was meddling with the RSelenium package when I type in the following code: library(tidyverse) library(rvest) library(RSelenium) rs_driver_lone<-rsDriver(browser="chrome",phantomver=NULL)...
0 votes
0 answers
39 views
Cannot open Selenium driver
I was trying to use RSelenium in RStudio. I put the following code into RStudio. rs_driver<-remoteDriver(remoteServerAddr="localhost", port=4444L, ...
2 votes
2 answers
71 views
Can't find HBO Max sign-in, "unable to locate element" error
I'm trying to make a automation that logs into https://auth.hbomax.com/login, however I keep getting the below error as the code can't locate the sign-in element. selenium.common.exceptions....
0 votes
0 answers
104 views
A problem with Selenium WebDriver manager
I've been parsing some websites using Selenium webdriver (its Chrome variant in particular) about a month ago and all worked fine (using Google Colab). I'm trying to run the same code now and it doesn'...
-1 votes
2 answers
72 views
Selenium not setting value for <input type="datetime-local"> in React, value shows in UI but not in actual DOM
I'm automating a test using Selenium (Node.js) and trying to set a value for a datetime-local input. The UI visually shows the correct date/time, but when I inspect the element after driver.sleep(), ...
1 vote
0 answers
67 views
Take screenshot of whole html-page using python with selenium in non-headless mode?
I am trying to take a full screenshot of the whole html-page using the following code - I would like to do this with selenium (not pyppeteer) I am searching for a python solution (not Java) I am ...
0 votes
1 answer
68 views
EdgeDriver Opens Brower but fails to open URL
I am trying to automate the Edge browser with Selenium. Below are the things I have already checked, but when I run the code the browser opens and doesn't navigate to the URL. No firewall is blocking....
0 votes
2 answers
95 views
Login fields are not able to be filled out?
I try to fill out some fields on a website using the attached code - from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.chrome.service import ...
Advice
0 votes
2 replies
43 views
Selenium + Serenity BDD cannot find <tbody id="bodyArchivos"> inside iframe even though it exists in DevTools (Java + Cucumber)
I’m working on an automated test with Java + Maven + Selenium WebDriver + Serenity BDD + Cucumber. The test needs to click the “Download” button of the most recent projection file in a table that is ...
0 votes
1 answer
90 views
selenium with google colab
Anyone working with Selenium in Google Colab has had trouble since yesterday, before 16hrs (UTC) The code sample below was working all day long, but after lunchtime, it began to crash. ...
0 votes
3 answers
122 views
Using selenium assert with wait
I'm trying to use asserts in selenium java. I read that for every validation, I need to use an assert as best practice. I stumbled upon this code example: WebElement button = wait.until(...