Top tag
Next privilege 150 Rep.
Create new tags
1 4
~4k people reached

  • 0 posts edited
  • 0 helpful flags
  • 3 votes cast
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 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?