panther icon indicating copy to clipboard operation
panther copied to clipboard

HttpFoundation Response object is not available when using WebDriver

Open youstra89 opened this issue 1 year ago • 1 comments

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

youstra89 avatar Sep 11 '22 08:09 youstra89

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.

dunglas avatar Sep 11 '22 09:09 dunglas