andycha28 / php-webdriver-bindings

Automatically exported from code.google.com/p/php-webdriver-bindings
0 stars 0 forks source link

isVisible and waitForVisible #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Different clients have such helpfull function like isVisible and 
waitForVisible(Selector, etc.)

What about your implementation?

Thx.

Original issue reported on code.google.com by vinn...@gmail.com on 19 Jan 2015 at 3:16

GoogleCodeExporter commented 8 years ago
isDisplayed() instead of isVisible, but what about waitFor?

Original comment by vinn...@gmail.com on 19 Jan 2015 at 4:31

GoogleCodeExporter commented 8 years ago
Well, one can always define a waitForVisible() or waitForDisplayed() method 
that simply polls or checks the return value of isDisplayed() and if not true 
sleeps a second before rechecking until the default (element find/wait) timeout 
has occurred.

Original comment by manga...@gmail.com on 27 Apr 2015 at 3:41