Why doesn't Codeception's PhpBrowser follow a “Reload” header?
问题 This is happening to me in a real CodeIgniter project in the Ion Auth authentication library, but for the sake of clarity, I have reduced it to it's simplest form. The script: I have this one line script located at http://localhost/~captbaritone/redirect/index.php : <?php header("Refresh:0;url=https://google.com");¬ In my browser, it redirects to Google.com. The Test: To test it I wrote this acceptance test: <?php $I = new WebGuy($scenario); $I->wantTo('Redirect to Google.com'); $I->amOnPage(