symfony / panther

A browser testing and web crawling library for PHP and Symfony
MIT License
2.91k stars 213 forks source link

HttpFoundation Response object is not available when using WebDriver #568

Open youstra89 opened 1 year ago

youstra89 commented 1 year ago

There is an issue when using $this->assertResponseIsSuccessful() or $this->assertResponseRedirects() in test with Symfony Panther. Follow this link for more details please https://stackoverflow.com/questions/73670467/symfony-panther-httpfoundation-response-object-is-not-available-when-using-webd

dunglas commented 1 year ago

Yes it's expected and documented. The WebDriver protocol doesn't give access to the underlying HTTP response. There is nothing we can do about that on our side.