webdriverjs-retry
webdriverjs-retry copied to clipboard
Retry lib for webdriverJS code
Error when running the tests with SELENIUM_PROMISE_MANAGER: false and using async/await for the tests.
Using this plugin with Protractor. Have these lines in my spec: ``` javascript view.chat.sendMessage(1); retry.run(function () { view.chat.sendMessage(2); }); view.chat.sendMessage(3); ``` `view.chat.sendMessage` looks like this: ``` javascript function () {...
So that we use the latest version of webdriver 2.44.0.
To avoid having to keep this up to date with latest selenium
What happens if I put an expect() within the retry block? ``` js retry.run(function() { // This would throw a failed expectation error because // the div does not appear...