Skip to content

Commit

Permalink
do not start xvfb server, just use a display - in future I should all…
Browse files Browse the repository at this point in the history
…ow set up this
  • Loading branch information
Hugo Fonseca committed Sep 10, 2015
1 parent 6fffa9a commit d48e78b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application/Selenium/SeleniumStarter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d48e78b

Please sign in to comment.