diff --git a/WebDriver/Driver.php b/WebDriver/Driver.php index c32d269..6ca67c4 100644 --- a/WebDriver/Driver.php +++ b/WebDriver/Driver.php @@ -91,6 +91,10 @@ public static function InitAtLocal($port, $browser, $additional_options = array( return self::InitAtHost('localhost', $port, $browser, $additional_options); } + public function get_browser() { + return $this->browser; + } + public function running_at_sauce() { return (strpos($this->server_url, "saucelabs.com") !== false); }