jeudi 26 février 2015

How to log all redirection hops in Selenium?

I want to log all redirection hops using selenium webdriver. The redirection can be JS based or through meta http-equiv method. The re-directions are fast and some times without any referer header. Webdriver allows to navigate back through driver.back() method in python. I assume the history is maintained by selenium driver, the question is how to obtain it and does it provide all the intermediate hops to reach final destination page?





Aucun commentaire:

Enregistrer un commentaire