Oops
This commit is contained in:
parent
7d81281a43
commit
0736ff9b80
|
@ -13,6 +13,7 @@ require __DIR__ . '/vendor/autoload.php';
|
||||||
$selenium = new Symfony\Component\Process\ProcessBuilder();
|
$selenium = new Symfony\Component\Process\ProcessBuilder();
|
||||||
$selenium->setPrefix(__DIR__ . '/vendor/bin/selenium-server-standalone');
|
$selenium->setPrefix(__DIR__ . '/vendor/bin/selenium-server-standalone');
|
||||||
$process = $selenium->getProcess();
|
$process = $selenium->getProcess();
|
||||||
|
$process->start();
|
||||||
$process->wait(function() use($process) {
|
$process->wait(function() use($process) {
|
||||||
while(false == $process->isRunning()) {
|
while(false == $process->isRunning()) {
|
||||||
print 'Waiting ...';
|
print 'Waiting ...';
|
||||||
|
|
Loading…
Reference in New Issue