symfony / panther

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

Crawler HTML Not Retrieved Properly #381

Open dainemedia opened 4 years ago

dainemedia commented 4 years ago

When doing the following...

$client = Client::createChromeClient();
$client->request('GET', 'https://example.com');

$crawler = $client->getCrawler();
$html = $crawler->html();

dd($html);

No matter what website I hit, the HTML returned is always...

"<html><head></head><body></body></html>"

I just can't seem to get this to work.

I'm running Laravel Valet and have the latest Chrome drivers installed.

imkevinabraham commented 3 years ago

Have the same issue @dainemedia did you find a solution?