I have a project which came from laravel 5.1, we have upgraded it accordingly up until 5.6, everything on the application works perfectly fine. When I install dusk and run this on ExampleTest.php:
$this->browse(function (Browser $browser) {
$browser->visit('/');
$browser->dump();
});
I am getting this empty html document which I don't know where it comes from:
"<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body></body></html>"
I am using laravel homestead and I know dusk works fine because if I install a fresh laravel application (laravel.local) it works perfectly fine and ExampleTest assertions return green.
I have searched everywhere for possible causes but I have run out of resources or even clues, please help.
http://google.com
and any other but it does not even work with full path to the local app which is like thisappname.local
– Thicket