Forum

laravel, stop chrom...
 
Notifications
Clear all

laravel, stop chrome dusk test, show browser without close

   RSS

0
Topic starter

help

1 Answer
0
Topic starter

1. solution
edit testsDuskTestCase.php and disable headless mode

        $options = (new ChromeOptions)->addArguments([
//            '--disable-gpu',
//            '--headless',
            '--window-size=1920,1080',
        ]);

now add pause(99999) to any test

            $browser->visit(route('auth.user.profile',$user))
                ->press('Save')
                ->storeSource('analiza.html')
                ->pause(999999)

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: