I am trying to perform a relatively simple task: to wait until a page redirect is complete. Just seen another answered question on the subject, where an advice is to wait for a particular text on the latter page to appear (IF I’ve got it right). If so, how about waiting till window.location will be changed? Is it better? Worse? Less applicable? Any other idea? just curious, if needed, can mark this question as a community wiki.
Thanks!
Monitoring the value, returned
driver.get_locationdid the job perfectly to me.Apparently, from what I’ve understood in my 5 mins peeping into the code was that
window.location.hrefvalue is monitored under the hood.