Skip to main content

All Questions

0 votes
0 answers
82 views

java.lang.IllegalAccessError getting this error

package Selenium; import org.openqa.selenium.WebDriver; import org.openqa.selenium.edge.EdgeDriver; public class www { public static void main(String[] args) { // TODO Auto-generated ...
john lee's user avatar
0 votes
1 answer
61 views

What is the StaleElementReferenceException in Selenium

When I try to locate an element I am getting an error Like StaleElementReference using WebDriver instance I try to do driver.findelement(By.xpath(Element)) it gives back staleelementreference ...
Jitha's user avatar
  • 11
0 votes
0 answers
72 views

Setting up Selenium 4 WebDriver on Eclipse with Java

I have added Selenium jar files to the build path but still WebDriver keyword is not recognized. I have tried adding the import statement manually. How can I fix this problem?enter image description ...
LMU's user avatar
  • 1
-1 votes
2 answers
59 views

Selenium Java cannot resolve Webdriver

I try to start with Selenium. But I am not able to get the imports from the Selenium working. I did research on this issue and watched many youtube tutorials, but no clue, why the libraries cannot be ...
Daniel H.'s user avatar
1 vote
1 answer
397 views

Eclipse error: Cannot invoke "org.asynchttpclient.ws.WebSocket.sendCloseFrame(int, String)" because "this.socket" is NULL

I am relatively new for Selenium. My test automation project would be running without any issues yet at 13th. of March (3 days ago) I did not change anything on the project itself. However, starting ...
Vladislav's user avatar
  • 193
-3 votes
1 answer
4k views

How to solve the error "Webdriver cannot be resolved to a type"?

To clear and run my code. Webdriver cannot be resolved to a type
Devibalakrishnan's user avatar
0 votes
1 answer
94 views

How To avoid stale element reference: element is not attached to the page document when I use a command to change the paage

I have a problem using Ecplise. When I use a command to do something that drives me into another page. For example if I do commands that do not require to change the page it works fine. But when I do ...
Radu Homescu's user avatar
2 votes
0 answers
1k views

Having Issues with Selenium Webdriver & Eclipse IDE Setup - Not Working for Java Automation [duplicate]

I have recently been having issues getting my Eclipse IDE to work in order to perform Java automation scripts with Selenium Webdriver. I am learning automation testing for the first time, as I will be ...
nk11's user avatar
  • 21
0 votes
0 answers
2k views

Why is my Eclipse IDE showing a launch error?

I had to recently change my laptop and now it is showing launch error whwn I try to execute something.
Vishnu Vichus's user avatar
1 vote
2 answers
1k views

Chrome not reachable error is seen for Selenium Webdriver

Facing "Chrome not reachable error" in my Selenium script. It was working fine couple of days back but suddenly it's throwing the error. Chrome Browser version: 86.0.4240.111 Chromedriver ...
AnkitKumarSahoo's user avatar
-2 votes
1 answer
781 views

The eclipse IDE doesn't import its WebDriver interface, as i have configured the BuildPath adding its required JAR & driver files?

Whenever I write a WebDriver, it doesn't import the packages as defined. Instead, it ask to create an interface called WebDriver. I'm using the JDK 14 and Eclipse 4.16.0. package package1; import org....
Saa Sh's user avatar
  • 1
0 votes
2 answers
9k views

the import org.openqa.selenium.webdriver cannot be resolved

I have added these jar files as shown below:
user6914996's user avatar
-1 votes
1 answer
215 views

Robot class- KeyEvent fails to upload document to the windows folder at KeyEvent.VK_V

I am working a specific scenario to upload a doc using selenium. After repeated failure I thought myself to debug the code. Here is my code and the error. public void uploadFile(String imagePath) { ...
JNo's user avatar
  • 9
0 votes
2 answers
42 views

how can I select the below value with css selector

I have to select the height dropdown which is in the form of 4' 3". I am using the below css selector but it is not showing me any element in inspect element section. Below is what I am using driver....
vishal gupta's user avatar
0 votes
1 answer
60 views

Selecting drop down value from <li>

I have a dropdown which contains number of options and among them I have to select one and click on them, For this I am using the below code but it gives me the below error: Exception in thread "...
vishal gupta's user avatar

15 30 50 per page
1
2 3 4 5
8