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

Commit

Permalink
Return true if control displayed within timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksym Shykov committed May 14, 2020
1 parent 5358d64 commit fe44d27
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 fe44d27

Please sign in to comment.