Skip to main content

All Questions

0 votes
0 answers
29 views

How to handle Stale Element Exception in selenium?

public class AddEmployeeTest extends BaseTest { @DataProvider(name = "employeeData") public Object[][] getEmployeeData(){ return new Object[][] { {"John&...
Darshan Hegde's user avatar
0 votes
0 answers
25 views

org.testng.TestNGException: Create breakpoint java.net.UnknownHostException: testng.org - when running test framework quit unexpectedly

I'm using JDK 17 and TestNG 6.14.3. Chrome driver version 135.0.7049.114. Previously, it was built successfully, but after the JDK cutover from 11 to 17 it doesn't work org.testng.TestNGException: ...
Kushani Karunarathne's user avatar
0 votes
0 answers
30 views

Selenium Driver can't switch to Alert

In my tests (running on Chrome), there are some scenarios when I click on a call-to-action button, then I am redirected to another page where basic authentication alert is present and I need to login. ...
Ragnarsson's user avatar
  • 1,835
1 vote
0 answers
27 views

Mobile Testing with Selenium on real iOS device on webmate.io

I'm executing my automated tests on real iOS device provided by webmate.io (TestFabrik) on Safari browser. My automated tests are implemented with Selenium and Java and I'm not using Appium. The issue ...
Anca's user avatar
  • 11
0 votes
0 answers
20 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. ...
JHONY RODRIGUEZ's user avatar
0 votes
0 answers
53 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) ...
Kristie's user avatar
-1 votes
0 answers
42 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....
uttamsingh888's user avatar
0 votes
1 answer
38 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 ...
Bhavesh Deshmukh's user avatar
0 votes
2 answers
44 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&...
micgn's user avatar
  • 264
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 ...
Marcos Ribeiro Morais's user avatar
0 votes
0 answers
20 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 ...
Polyterpe's user avatar
0 votes
0 answers
147 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 ...
devCodePro's user avatar
0 votes
1 answer
35 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(...
Greco's user avatar
  • 172
0 votes
0 answers
41 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 ...
user30162823's user avatar
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) { ...
Karishma's user avatar

15 30 50 per page
1
2 3 4 5
2374