Skip to content

Instantly share code, notes, and snippets.

View ux-engineer's full-sized avatar
Ready player

Janne Kurkinen ux-engineer

Ready player
View GitHub Profile
<?php
namespace App;
use Closure;
use Exception;
use Throwable;
use Laravel\Dusk\Browser as DuskBrowser;
use Laravel\Dusk\Chrome\SupportsChrome;
use Facebook\WebDriver\Chrome\ChromeOptions;
@ux-engineer
ux-engineer / Custom Dusk Browser Class with ChromeDriver
Last active January 15, 2018 19:16
Related to laravel/homestead issue #793
<?php
namespace App;
use Closure;
use Exception;
use Throwable;
use Laravel\Dusk\Browser as DuskBrowser;
use Facebook\WebDriver\Chrome\ChromeOptions;
use Facebook\WebDriver\Remote\RemoteWebDriver;
@ux-engineer
ux-engineer / vagrant destroy & up output
Last active January 15, 2018 19:16
Related to laravel/homestead issue #793
vagrant destroy && vagrant up
homestead-7: Are you sure you want to destroy the 'homestead-7' VM? [y/N] y
==> homestead-7: Forcing shutdown of VM...
==> homestead-7: Destroying VM and associated drives...
Bringing machine 'homestead-7' up with 'virtualbox' provider...
==> homestead-7: Importing base box 'laravel/homestead'...
==> homestead-7: Matching MAC address for NAT networking...
==> homestead-7: Checking if box 'laravel/homestead' is up to date...
==> homestead-7: Setting the name of the VM: homestead-7
==> homestead-7: Clearing any previously set network interfaces...