Q. What does the isDisplayed() method check in Selenium?

A
Whether an element is clickable
B
Whether an element is visible on the page
C
Whether an element exists
D
Whether an element is enabled
Solution:

isDisplayed() returns true if the element is visible to the user.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!