Skip to content

Instantly share code, notes, and snippets.

@2m
Created March 26, 2014 21:54
Show Gist options
  • Save 2m/9794470 to your computer and use it in GitHub Desktop.
Save 2m/9794470 to your computer and use it in GitHub Desktop.
navigateTo(url) {
in(form having id("form1")) {
in(input having id("iLogin")) {
typeIn(username)
}
in(input having id("iPassword")) {
typeIn(password)
}
in(input having name("doLogin")) {
click ==>
}
}
}
onCurrentPage {
in(form having id("form1")) {
in(input having name("incl_una")) {
click ==>
}
}
}
onCurrentPage {
result = page.asXml()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment