What is the best way to assert redirections in Selenium?

Posted by Andrew on Stack Overflow See other posts from Stack Overflow or by Andrew
Published on 2010-05-04T21:54:47Z Indexed on 2010/05/04 22:38 UTC
Read the original article Hit count: 247

Filed under:
|
|
|

I am writing a selenium test and I need to assert that the page is redirected. How should I verify this? What would be the best way?

I am using PHPUnit and the PHPUnit_Extensions_SeleniumTestCase.

© Stack Overflow or respective owner

Related posts about selenium

Related posts about selenium-rc