Answer the question
In order to leave comments, you need to log in
Why is Laravel Dusk not finding text?
Localhost / Laravel / Windows 10 / Laravel Dusk Home APP_URL=http://domen.ru
page text in h1 tag: Laravel
Run Browser\ExampleTest test
With code
public function testBasicExample()
{
$this->browse(function (Browser $browser) {
$browser->visit('/')
->assertSee('Laravel');
});
}
Did not see expected text [Laravel] within element [body].
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question