top button

How would you check if an element is visible on the page?

0 votes
posted Apr 26 by Arun

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

0 votes

We can use isDisplayed() method. The return type of the method is boolean. So if it returns true then the element is visible otherwise it is not.


answer Apr 29 by Arunkumaarts