Skip to content

Commit

Permalink
- added breaker function to be able to cancel execution when another …
Browse files Browse the repository at this point in the history
…case is passed further

🪿
  • Loading branch information
maZahaca committed Mar 16, 2019
1 parent 0b65be2 commit 6d01025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/actions/ActionWaitForVisible.js
Expand Up @@ -18,7 +18,7 @@ class ActionWaitForVisible extends ActionWait {
return visibility ? result : !result;
}, (result) => {
return result;
}, [this._selector, visibility]);
}, this._options.breaker, [this._selector, visibility]);
}
}

Expand Down

0 comments on commit 6d01025

Please sign in to comment.