All Questions
Tagged with selenium-webdriver java
35,595 questions
0
votes
0
answers
16
views
Web automation with Java SSO login and Selenium
I'm automating a website, but this website takes the session of the logged-in user via SSO. If I'm already logged in to the email and I access the page, it automatically takes me to the dashboard. ...
0
votes
0
answers
50
views
How can I run multiple tests in the same Chrome window
I have seen several posts around this, but none that really answer how to do it. We are currently using Selenium and Java to test our applications in Chrome. We are moving to a single sign-on (SSO) ...
-1
votes
0
answers
38
views
ChromeDriver fails with SessionNotCreatedException after switching to non-root user in Docker
My ChromeDriver integration in a Docker container was working perfectly until I switched from root to a non-root user using:
USER new_user
Now I get this error:
org.openqa.selenium....
0
votes
1
answer
35
views
How should handle the calenders on phptravel.net website ? How can make generic function for it?
I am practising the selenium webdriver with java. I am trying to automate the hotel booking process. currently stuck at handling the calenders or datepicker on the page.I tried various approches, but ...
0
votes
2
answers
42
views
Which Selenium WebDriver version for which Chrome version?
I do not understand which versions fit together here. Currently I use:
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId&...
0
votes
0
answers
33
views
How to set a value in a dropdown overlapped by a div?
I am trying to select an option in a dropdown using Selenium with Java on a frontend built with Angular, but I’m having an issue because an exception is thrown in Firefox when I try to set an option ...
0
votes
0
answers
19
views
How to launch Safari private browsing for Private Relay on Java Selenium?
I’m currently working on a Selenium project in Java that requires using Safari to take advantage of iCloud Private Relay’s IP shuffle functionality. After launching Safari from Selenium, I’m checking ...
0
votes
0
answers
128
views
Selenium Download Not Working in Java + Spring Boot Project (Chrome 135, Selenium 4.31.0)
I'm building a Java 21 + Spring Boot 3 automation project where I use Selenium to automate Chrome. The Chrome browser opens correctly via ChromeDriver, everything was working a month ago, but now file ...
0
votes
1
answer
34
views
Selenium FluentWait is not working as expected
I'm waiting in my code for an element located by id = MX.
When I try the FluentWait approach like this:
FluentWait<WebDriver> fluentWait = new FluentWait<>(driver)
.withTimeout(...
0
votes
0
answers
40
views
My Selenium WebDriver doesn´t get a value
Well, im currently learning Selenium with Java, using Maven and TestNg as my primary test framework.
So, everything was great learning Selenium and it was smooth as butter, but then I tried to ...
0
votes
0
answers
24
views
Selenium 4 -Displaying org.openqa.selenium.remote.http.WebSocket$Listener onError java.net.SocketException: Connection reset
Below is the code and it is simple selenium code. Using Maven build tool. Chrome version is 134.0.6998.178
public class FirstTestCase {
public static void main(String[] args) {
...
0
votes
0
answers
62
views
Selenium throwing exception - org.openqa.selenium.JavascriptException - Failed to execute 'send' on 'XMLHttpRequest'
I am running a selenium on a site - https://ir.vishay.com/
I am trying to get the response from above url, the driver code is as simple as
String url = "https://ir.vishay.com/"
driver.get(...
-1
votes
0
answers
26
views
After saving the form, the text in the iframe field is vanished - Selenium Java
I enter text into an iframe that is in a modal window. Everything is ok, the text is entered. But when I save the modal window, the text from the field disappears. I use this method to enter text
...
0
votes
1
answer
30
views
How to select Flex Dynamic Elements Using Selenium
I encountered a problem selecting locators with dynamic properties. While I was able to select elements using their text values, I believe this method may not be reliable for automation testing.
Could ...
0
votes
1
answer
44
views
Not able to rerun the failed testcases in selenium cucumber with junit using mvn test command from cmd
FailedRun.java:
package myrunner;
import org.junit.runner.RunWith;
import io.cucumber.junit.Cucumber;
import io.cucumber.junit.CucumberOptions;
@RunWith(Cucumber.class)
@CucumberOptions(features = {...