xpath search working on browser[firefox/Chrome] but not on Selenium python script.

0 votes
Hi Team,

I am getting below expception while trying to get a clickable element from webpage using xpath/id or something else.

Same thing if i try on web browser[chrome or firefox], it is working.

i have already implemented enough wait time. but still getting exceptions below.

selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: //input[contains(@id,'ctl00_ctl00_ContentPlaceHolder1_ContentPlaceHolder3Col_OaasSupportAgreemetResultGrid_ctl03_CaseButton')]
Nov 14, 2019 in Selenium by ashutosh
• 120 points

Could be a race condition where the find element is executing before it is present on the page. Take a look at the wait timeout documentation.

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Selenium

0 votes
1 answer

Xpath not working in firefox but working fine in chrome

Try to search above xpath in chrome ...READ MORE

answered Jul 17, 2018 in Selenium by Samarpit
• 5,850 points
0 votes
1 answer
+2 votes
1 answer

I want the console.log output from Chrome. I'm working with selenium on Python

So this is how you do it ...READ MORE

answered May 3, 2018 in Selenium by sniffy_god
• 780 points
0 votes
1 answer

Selenium ChromeDriver issue - Want to run it in background, but not as headless browser

This is a flaw with ChromeDriver. Tried ...READ MORE

answered Mar 26, 2018 in Selenium by nsv999
• 5,510 points
0 votes
1 answer

Selenium + Java - drag and drop not working on selenium 3.8

How about you try adding the below ...READ MORE

answered Mar 27, 2018 in Selenium by nsv999
• 5,510 points
0 votes
1 answer

Selenium IDE ( not working with latest Version of Firefox

Unfortunately, Selenium IDE will be deprecated soon. ...READ MORE

answered Mar 30, 2018 in Selenium by nsv999
• 5,510 points

edited Apr 4, 2018 by nsv999 3,902 views
0 votes
1 answer

findElement(By.xpath()) not working using Selenium WebDriver

element = findElement(By.xpath("//*[@test-id='test-username']"); element = findElement(By.xpath("//input[@test-id='test-username']"); (*) - any ...READ MORE

answered Apr 18, 2018 in Selenium by code_ninja
• 6,240 points
0 votes
1 answer

Error: FF Browser not working for Selenium test after update

Since Firefox's latest update to version 47.0, ...READ MORE

answered Apr 20, 2018 in Selenium by king_kenny
• 3,690 points