Skip to content

Instantly share code, notes, and snippets.

@ematta
Last active January 4, 2016 18:19
Show Gist options
  • Save ematta/8659653 to your computer and use it in GitHub Desktop.
Save ematta/8659653 to your computer and use it in GitHub Desktop.
ASP.NET Postback issue work around
browser = Watir::Browser.new :ie
browser.goto http://yourlegacyaspdotnetpage
browser.text_field(:id => 'this_field will_force_a_post_back').set ('This is gonna suck')
browser.send_keys :tab
Watir::Wait.until { browser.ready_state.eql? "complete" }
# Rest of your code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment