We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d59ccc1 commit 74c5a85Copy full SHA for 74c5a85
javascript/node/selenium-webdriver/test/firefox/firefox_test.js
@@ -119,7 +119,8 @@ test.suite(function(env) {
119
// refresh doesn't appear to work).
120
driver.wait(function() {
121
driver.get(url);
122
- return driver.isElementPresent({id: 'jetpack-sample-banner'});
+ return driver.findElements({id: 'jetpack-sample-banner'})
123
+ .then(found => found.length > 0);
124
}, 3000);
125
}
126
});
0 commit comments