CodeceptJS icon indicating copy to clipboard operation
CodeceptJS copied to clipboard

I.waitWhileVisible

Open fabioel opened this issue 10 years ago • 1 comments

Hi I wanted to ask if it is possible to add a function I.waitWhileVisible that waits as long as a given selector is visible in the DOM. It would be really awesome!

fabioel avatar Jan 22 '16 11:01 fabioel

Looks more like I.waitToHide(el). But yes, that can easily be implemented. If you familiar with WebDriverIO you can send a Pull Request to WebDriverIO helper. It's pretty easy as it is really similar for other waiters

DavertMik avatar Jan 25 '16 19:01 DavertMik