lib-innerbrowser icon indicating copy to clipboard operation
lib-innerbrowser copied to clipboard

Suggestion: `seeResponseIsPdf()`

Open ThomasLandauer opened this issue 11 months ago • 0 comments

It would be nice to be able to assert that a response is indeed a PDF. Right now, I'm doing it with something like:

$I->seeHttpHeader('Content-Type', 'application/pdf');
$I->seeResponseContains('%PDF-1.');

REST module has seeResponseIsJson() and seeResponseIsXml()

ThomasLandauer avatar Jan 24 '25 07:01 ThomasLandauer