Last active
January 4, 2016 18:19
-
-
Save ematta/8659653 to your computer and use it in GitHub Desktop.
ASP.NET Postback issue work around
This file contains 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
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