126 reputation
bio website kstruct.com
location Australia
age 35
visits member for 3 years, 5 months
seen Oct 31 '12 at 5:17
Software engineer in Canberra, Australia

comment Handling self-refreshing pages from selenium
Thanks - I'll try it out. I'm still not sure it will work though, because I would have assumed that when the window.location.replace started loading a new page, the old jquery context would need to be destroyed. Assuming that happens, jquery wouldn't actually become active again unless the new page which is being loaded used it for something, and even then there would be points during the page loading where it was inactive. That said, I'm not sure so I'll test it out and see if you're right that jQuery.active survives through a page load.
comment Handling self-refreshing pages from selenium
Would that just wait for the ajax request and the onComplete handler to finish, or would it wait until the new page (which is loaded by window.location.replace) is full loaded?