Created
September 13, 2013 18:14
-
-
Save lefthandedgoat/6554142 to your computer and use it in GitHub Desktop.
override on
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let on (u: string) = | |
try | |
wait pageTimeout (fun _ -> browser.Url = u) | |
with | |
| ex -> raise (CanopyOnException(sprintf "on check failed, expected %s got %s" u browser.Url)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment