Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

None of my Browsers are working

91 views
Skip to first unread message

EverLearner

unread,
Jan 25, 2020, 12:27:49 AM1/25/20
to Selenium Users
Hi Experts

I am not sure what happened but I created a POM file to install TestNG, Extent etc to learn and then I see that none of code is working 

Both Firefox and Selenium are throwing up this error. after momentarily opening respective browser blank pages 

Jan 25, 2020 4:11:52 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
Exception in thread "main" java.lang.NoClassDefFoundError: org/openqa/selenium/internal/HasIdentity
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method

As the browsers were working all good earlier, I am ruling out version issues. 

Please can you help me get back to working  browsers

Thanks in advance 

Arijit Mondal

unread,
Jan 27, 2020, 6:56:52 AM1/27/20
to Selenium Users
Add selenium dependency in pom.xml as it is saying no class definition found 

Arijit Mondal

unread,
Jan 27, 2020, 6:56:53 AM1/27/20
to Selenium Users
Check the selenium version you use,  Read selenium doc, you will identify the driver for that version and in driver download section you will able to see the supporting browser details


On Saturday, 25 January 2020 10:57:49 UTC+5:30, EverLearner wrote:

madhavi kavi

unread,
Mar 21, 2024, 5:51:16 AM3/21/24
to Selenium Users
I am getting this msg:
"C:\Program Files\Java\jdk-11\bin\java.exe" 
Exception in thread "main" org.openqa.selenium.remote.NoSuchDriverException: chromedriver at location /libs/chromedriver, does not exist
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location/
Build info: version: '4.17.0', revision: 'e52b1be057*'
System info: os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.21'
Driver info: driver.version: ChromeDriver
at org.openqa.selenium.remote.service.DriverFinder.getPath(DriverFinder.java:76)
at org.openqa.selenium.remote.service.DriverFinder.getPath(DriverFinder.java:33)
at org.openqa.selenium.chrome.ChromeDriver.generateExecutor(ChromeDriver.java:99)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:89)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:84)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:52)
at linkedinpracticeone.KeyboardMouseInput.main(KeyboardMouseInput.java:12)

Process finished with exit code 1

madhavi kavi

unread,
Mar 21, 2024, 5:51:16 AM3/21/24
to Selenium Users
Hi all,
Same to me i installed TestNG to learn and now my drivers are not working. may be it is related to TestNG and drivers compatibility
Reply all
Reply to author
Forward
0 new messages