This commit is contained in:
R. Eric Wheeler 2016-12-22 13:08:26 -08:00
parent 7d81281a43
commit 0736ff9b80
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ require __DIR__ . '/vendor/autoload.php';
$selenium = new Symfony\Component\Process\ProcessBuilder();
$selenium->setPrefix(__DIR__ . '/vendor/bin/selenium-server-standalone');
$process = $selenium->getProcess();
$process->start();
$process->wait(function() use($process) {
while(false == $process->isRunning()) {
print 'Waiting ...';