Open jkwohlfahrt opened 6 years ago
@jkwohlfahrt You can use "getMobileEl(using, selector, callback)". All of the custom commands wait for the element before interacting.
@pschroeder89 thank you for reply. Could you please suggest how can I modify waiting for the element visible time? For instance I want to wait not longer then 2 seconds. Thanks!
according to http://nightwatchjs.org/api/timeouts.html, you can do something like this
client.timeouts("implicit", 2000);
I was reviewing the nightwatch-extra docs, and do not see a waitForMobileElVisible command. Is there one available that can be passed an accessibility id? I'll probably need to add a custom implementation if this is not available out of the box. Any help would be greatly appreciated. Thanks!