for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Zenstruck\Browser\Response;
use Symfony\Component\DomCrawler\Crawler;
/**
* @author Kevin Bond <[email protected]>
*/
class HtmlResponse extends DomResponse
{
public function crawler(): Crawler
$crawler = new Crawler();
$crawler->addHtmlContent($this->body());
return $crawler;
}