Reputation
Top tag
Next privilege 150 Rep.
Create tags
Badges
1 4
Impact
~3k people reached

  • 0 posts edited
  • 0 helpful flags
  • 3 votes cast
Jan
13
awarded  Notable Question
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