Linked Questions
20 questions linked to/from How to analyse 'Element not Found' exceptions when working with Selenium
0
votes
1
answer
539
views
No Such Element (Selenium) [duplicate]
I have checked far and wide for a fix for this. But to no avail. Nothing seems to work. I am trying to locate a Username and Password box to enter in the information. But it comes up with the error
...
1
vote
1
answer
537
views
Can't locate element [duplicate]
I am trying to click on the link shown on the attachment but, no matter what I try, webdriver can't find the element. I tried these:
elem = driver.find_element_by_xpath("/html/body/div[1]/div/div/...
0
votes
0
answers
44
views
Selenium click is being intercepted [duplicate]
I've got Tests written using Selenium/Java. There is an element with an id="xyz". I need to wait for the above element to disappear, so I am using invisibilityOf()
WebDriverWait wait = new ...
-1
votes
1
answer
39
views
Object is not recognizing through webdriver [duplicate]
List val=driver.findElements(By.xpath("//div[@class='ui basic button floating item dropdown']//div//a"));
is not identifying through webdriver. But this xpath perfectly recognizing at chrome browser.
0
votes
0
answers
31
views
Clicking a link in <a> tag using selenium [duplicate]
suppose the following is mentioned in the tag a:
<a href=www.google.com/url?url=www.xyz.com> www.xyz.com/1213sdsd/en-us </a>
The text between the tagname is also a link. How do I ...
0
votes
4
answers
21k
views
Selenium can't locate element by xpath
I am using Selenium and attempting to locate an element (table cell in a web app) by xpath. However, I am getting a NoSuchElementException when running my test cases.
I am positive that the xpath ...
1
vote
5
answers
2k
views
Element not found in a runtime
I am encountering a very unusual thing, the one I haven't seen before. There is one element I needed to find for testing purposes, it is visible on the page and I can find its unique relative XPath ...
1
vote
2
answers
8k
views
Unable to locate element even using any methods in selenium java?
This is my HTML tag:
<input type="text" maxlength="10" size="10" name="amount">
But I am unable to locate element using Java Selenium web driver. I used all the methods like cssselector, XPath,...
1
vote
4
answers
19k
views
How to resolve NoSuchElementException in Selenium with java?
CODE:
driver.findElement(By.name("USER")).sendKeys("XYZ");
driver.findElement(By.name("PASSWORD")).sendKeys("abc");
I have tried various ways not just name but by xpath, css selectors but every time ...
1
vote
4
answers
14k
views
selenium.NoSuchElementException: Unable to locate element: #passwordNext
Error:
Exception in thread "main" org.openqa.selenium.NoSuchElementException: Unable to locate element: #passwordNext
For documentation on this error, please visit: http://seleniumhq.org/exceptions/...
0
votes
2
answers
6k
views
Unable to locate element with id, showing error- NoSuchElementException [closed]
driver.FindElement(By.Id("diagnosisivd")).Click();
While running above code getting error:
"main" org.openqa.selenium.NoSuchElementException: no such element
As I have written correct id.
0
votes
4
answers
7k
views
how to locate a href link inside anchor tag in selenium java?
I have to click on this link which is shown in picture.
0
votes
3
answers
3k
views
How to resolve NoSuchElementException in Selenium Java?
I've been working on a company project involving Seleniumand I keep getting NoSuchElementException despite putting xpath, cssSelector and linkText. Below is my program.
NewCard.java
public class ...
-1
votes
2
answers
3k
views
Selenium vba XPath/css Element not found for
I need help!
I'm trying to connect to this Webpage and interact with it via WebDriver. I managed to open the page but when I'm trying to interact I get this error. I tried to press this Link/Button ...
2
votes
2
answers
842
views
Unable to click on "Add Payment Method" button on Google Pay site
I am trying to click on "Add payment method" button under Payment Methods tab using selenium -
https://pay.google.com/gp/w/home/paymentmethods
Tried using xpath, className and cssSelector but looks ...