Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

SELENIUM

Find Element in Selenium


Selenium: Selenium With Java Basics

➤ Find Element : findElement() is method in Selenium, used to


identify the Web-Element with help of ‘By’ Class.  
➤ Things to Remember About Find Element:
➤ This method is used to find the single element on Web-Page.
➤ This Method returns the first matching element of the
specified locator.
➤ It throws NoSuchElementException, when fails to locate
the element.
➤ Find Element will not work with Elements which are present
in HTML Frames.
Will see you in Next Lecture…

See you in next lecture …

You might also like