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) |