Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #19 from MacPaw/feature/update-return-value-is-con…
Browse files Browse the repository at this point in the history
…trol-displayed

Feature/Return true if control displayed within timeout
  • Loading branch information
Maksym Shykov authored May 14, 2020
2 parents 5358d64 + fe44d27 commit f3f317f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ module.exports = {
waitIsDisplayed(selector, waitTime = this.defaultWaitTime) {
try {
this.waitForVisible(selector, waitTime);
return true;
} catch (err) {
return false;
}
Expand Down

0 comments on commit f3f317f

Please sign in to comment.