mechanize ruby (i.e. http://docs.seattlerb.org/mechanize/) - how do do wait for a javascript based update to a page?
I have a site that requires login, but then takes many seconds to login, but after which it's really handled (it appears) as javascript.
Like is there a way to refresh the results of:
page = agent.submit(login_form)