First, we need to run a Selenium Hub and a Firefox Selenium node:
$ docker run -d --name hub -p 4444:4444 selenium/hub
$ docker run -d --name fx --link hub:hub selenium/node-firefox
| <?php | |
| namespace App\Models; | |
| use Illuminate\Database\Eloquent\Model; | |
| use App\Models\Traits\HasAppModelTrait; | |
| class Application extends Model | |
| { | |
| use HasAppModelTrait; |
| ## | |
| ## Parts taken from | |
| ## https://gist.github.com/mattiaslundberg/8620837 | |
| ## https://gist.github.com/binaerbaum/535884a7f5b8a8697557 | |
| ## | |
| ## Prefixes: | |
| ## archiso> - While booted in the Arch ISO | |
| ## chroot> - During setup after `arch-chroot` | |
| ## sh> - In shell, after setup has been completed (and Arch ISO unmounted) |