| bio | website | kstruct.com |
|---|---|---|
| location | Australia | |
| age | 33 | |
| visits | member for | 2 years |
| seen | Oct 31 '12 at 5:17 | |
| stats | profile views | 7 |
Software engineer in Canberra, Australia
|
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 |
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? |