diff --git a/src/BrowserTest.php b/src/BrowserTest.php index 78abbb3..994f213 100644 --- a/src/BrowserTest.php +++ b/src/BrowserTest.php @@ -11,7 +11,7 @@ abstract class BrowserTest extends \PHPUnit_Extensions_Selenium2TestCase{ public function setUp(){ $this->setHost('localhost'); $this->setPort(4444); - $args=explode(',',getenv('SeleniumBrowserArgs')); + $args=explode(' ',getenv('SeleniumBrowserArgs')); $args[]='screenshot'; $this->setDesiredCapabilities(['moz:firefoxOptions'=>['args'=>$args]]); $this->setBrowserUrl(getenv('SeleniumBrowserUrl'));