-
The
Browser::get()
return content, not aDomCrawler
.Before:
$crawler = $this->get('anime_db.ani_db.browser')->get('anime', ['aid' => 1]);
After:
use Symfony\Component\DomCrawler\Crawler; $content = $this->get('anime_db.ani_db.browser')->get('anime', ['aid' => 1]); $crawler = new Crawler($content);
-
The
Browser::get()
method now is not cache response.