diff --git a/src/Selenium2Driver.php b/src/Selenium2Driver.php index 05d6e321..f42ae402 100755 --- a/src/Selenium2Driver.php +++ b/src/Selenium2Driver.php @@ -118,6 +118,8 @@ public function setDesiredCapabilities(?array $desiredCapabilities = null) $desiredCapabilities = array(); } + $desiredCapabilities['browserName'] = $this->browserName; + // Join $desiredCapabilities with defaultCapabilities $desiredCapabilities = array_replace(self::getDefaultCapabilities(), $desiredCapabilities);