You are on page 1of 4

SELENIUM

Verify Element Visibility on WebPage


Selenium: Selenium With Java Basics

➤ Verify Visibility of Web-Element on Web-Page


➤ isDisplayed() : is the method used to verify presence of a web
element within the webpage.
➤ Returns ‘true’ if element is displayed or false if element is
missing on web-page.
➤ isEnabled() : is the method used to verify if the web element
is enabled or disabled within the webpage.
➤ Returns ‘true’ if element is enabled or false if element is not
enabled on web-page.
Selenium: Selenium With Java Basics

➤ isSelected() : is the method used to verify if the web element


is selected or not.
➤ isSelected() method is pre-dominantly used with radio
buttons, drop-downs and checkboxes. 
➤ Returns ‘true’ if element is Selected or false if element is not
Selected on web-page.
Will see you in Next Lecture…

See you in next lecture …

You might also like