diff --git a/lib/actions/ActionWaitForPattern.js b/lib/actions/ActionWaitForPattern.js
index <HASH>..<HASH> 100644
--- a/lib/actions/ActionWaitForPattern.js
+++ b/lib/actions/ActionWaitForPattern.js
@@ -22,7 +22,7 @@ class ActionWaitForPattern extends ActionWait {
             return nodes[0].textContent;
         }, (text) => {
             return text.match(pattern) !== null;
-        }, [selector, attr]);
+        }, this._options.breaker, [selector, attr]);
     }
 }
- added breaker function to be able to cancel execution when another case is passed further

:goose: