Skip to content

Instantly share code, notes, and snippets.

@lefthandedgoat
Created September 13, 2013 18:14
Show Gist options
  • Save lefthandedgoat/6554142 to your computer and use it in GitHub Desktop.
Save lefthandedgoat/6554142 to your computer and use it in GitHub Desktop.
override on
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