126 reputation
4
bio website kstruct.com
location Australia
age 35
visits member for 3 years, 7 months
seen Nov 6 at 17:55
Software engineer in Canberra, Australia

Oct
11
awarded  Popular Question
May
8
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.
May
6
awarded  Student
May
6
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?
May
6
awarded  Supporter
May
6
asked Handling self-refreshing pages from selenium
May
6
awarded  Autobiographer