mfulton26/webautomator

Add implicit wait to .click

Closed this issue · 1 comments

Currently there is no implicit wait set for the .click operator. We have a race condition that will apear infrequently when a page loads, the .click function will fire before the button or object is loaded in the dom.

I'd love to see a small example page to reproduce the issue you're seeing. A click cannot be sent until a target is found so I'd be interested to learn how a click is being sent if there is no button in the DOM to find. We can reopen if you're able to provide a reproducible example and/or more details. Thanks!