exceptionNoSuchElementException when i try to find an element using Class locator

0 votes
I am unable to locate an element using Class locator. Can someone help? I am getting this error:

exceptionNoSuchElementException
Dec 26, 2018 in Selenium by Sradha
• 1,760 points
797 views

1 answer to this question.

0 votes
The error you are getting is because selenium is not able to find the element. There can be multiple reason for that:

1. You are not using the locator correctly.

2. The element you are searching for is not available.

These can be the two probable cases.

If you are using Class Locator then you should make sure that you correctly point to the element.
answered Dec 26, 2018 by Tanvi

Related Questions In Selenium

0 votes
1 answer

I am getting Stale element exception when I try to automate angular js - drop down using Selenium with Java

Hey @Dhivya, StaleElementReferenceException is thrown when an ...READ MORE

answered Feb 12, 2020 in Selenium by Sirajul
• 59,230 points
3,500 views
0 votes
1 answer

I need to find a web element using CSS

The element should be located with any ...READ MORE

answered Apr 13, 2018 in Selenium by nsv999
• 5,500 points
920 views
0 votes
1 answer

Can't find an element Using Selenium

The reason you can't locate the item ...READ MORE

answered Mar 27, 2018 in Selenium by nsv999
• 5,500 points
2,690 views
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,500 points
13,673 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,142 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,910 points
7,221 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,874 views
0 votes
1 answer
0 votes
1 answer

How to get the XPath of an element?

To get the xpath of an element ...READ MORE

answered Dec 19, 2018 in Selenium by Nabarupa
904 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP