'Adding delay and manually solve captcha in laravel dusk
I have a simple test i want to view in chrome. This is the method
public function testExample()
{
$this->browse(function ($browser) {
$browser->visit('http://localhost:8000/login')
->type('email', '[email protected]')
->type('password', 'passwordgood')
//->pause(1000);
->press('Login')
->assertPathIs('/home');
});
}
would it be possible to delay/pause the test until i successfully solve captcha?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|