diff --git a/src/Application/Selenium/SeleniumStarter.php b/src/Application/Selenium/SeleniumStarter.php index e5dafe5..f52af40 100644 --- a/src/Application/Selenium/SeleniumStarter.php +++ b/src/Application/Selenium/SeleniumStarter.php @@ -78,7 +78,7 @@ private function createStartCommand() { $cmd = $this->exeFinder->find('java').' -jar '.$this->seleniumOptions->getSeleniumJarLocation(); if ($this->seleniumOptions->isXvfbEnabled()) { - $xvfbCmd = 'DISPLAY=:1 '.$this->exeFinder->find('xvfb-run').' --server-args=":1 -screen 0 1280x800x24 -ac +extension RANDR"'; + $xvfbCmd = 'DISPLAY=:21 '; $cmd = $xvfbCmd.' '.$cmd; } $seleniumExtraArgs = $this->seleniumOptions->getSeleniumExtraArguments();