All Questions
Tagged with selenium-chromedriverjava
2,121 questions
-1votes
0answers
40views
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....
0votes
0answers
133views
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 ...
0votes
2answers
42views
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&...
3votes
5answers
62kviews
org.openqa.selenium.SessionNotCreatedException: Message: Could not start a new session. Response code 500 error using Selenium Java
A window appears after launch and immediately disappears, I can not understand what's wrong. Google except for the latest version, selenium is also set to the LATEST parameter (nothing changes with a ...
1vote
3answers
15kviews
Selenium chrome driver error java.lang.AbstractMethodError: Receiver class org.openqa.selenium.chrome.ChromeDriverService$Builder does not define
I did not have problem to run this before becoming messy with something. Any help would be appciated. I am getting this error chrome driver when running any test class with chrome driver. I tried to ...
5votes
3answers
10kviews
chrome is not able to run in Selenium Webdriver . i am using selenium 3.0.1 chrome v-54.0
public class sikuli { public static void main(String[] args) throws Exception { //Screen screen=new Screen(); //screen.click("//home//exeter//Pictures//googlechrome.png"); ...
6votes
7answers
55kviews
Chrome browser is not opening in selenium webdriver
My code is not launching browser. Project show running for a long time, but nothing happens. I pushed print and observed that WebDriver driver = new ChromeDriver(); is not getting executed. package ...
0votes
0answers
24views
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) { ...
0votes
3answers
15kviews
NoSuchSessionException when starting chromedriver
I am trying to create a simple test, just open the page and verify its title. I thought it could not be simpler, but... my test opens a new tab in a currently opened Chrome browser and fails on driver....
0votes
0answers
100views
How to read content from aspx page of type document which is rendering as pdf in chrome viewer using selenium java?
I have some code where clicking on a button will open the aspx page in a new tab. I'm able to download a valid pdf file by clicking on download icon in chrome viewer. The URL is dynamic and its query ...
3votes
3answers
14kviews
java.net.SocketException: Connection reset on Selenium driver.close() or driver.quit() statements
I am seeing a java.net.SocketException: Connection reset almost every time I use a driver.close() or driver.quit() statement. The browser does get closed and the exception isn't affecting any of my ...
1vote
1answer
9kviews
How to wait for page to load completely using JavaScript in Selenium
I'm trying get for page to load completely before doing an action. I don't want to start an action while loading circle on the browser tab is still turning. My wait for ajax function is not working ...
2votes
4answers
20kviews
SessionNotCreatedException: Could not start a new session. Response code 500 error using Selenium Java and WebDriverManager through pom.xml
I want to test my script on chrome beta version and for that reason I have installed chrome beta version but somehow I am not able to start it using Selenium Java. I have all the needed dependency ...
0votes
4answers
13kviews
WebDriver and ChromeDriver cannot be resolved to a type
I know this is a very frequently asked question but i have tried so many fixes to this problem (including: downloading java and eclipse again) and none of the fixes worked. i am asking for very ...
0votes
2answers
581views
How to disable chrome notification popups while automating in selenium java?
How to disable chrome notification popups I have tried that below code but its not working ChromeOptions option = new ChromeOptions(); option.addArguments("--disable-notifications"); option....