We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9435361 commit e354269Copy full SHA for e354269
src/Selenium2Driver.php
@@ -90,6 +90,27 @@ protected function setBrowserName($browserName = 'firefox')
90
$this->browserName = $browserName;
91
}
92
93
+ /**
94
+ * Get the browser name
95
+ *
96
+ * @return string the name of the browser used.
97
+ */
98
+ public function getBrowserName()
99
+ {
100
+ return $this->browserName;
101
+ }
102
+
103
104
+ * Returns selenium version number.
105
106
+ * @return string selenium version.
107
108
+ public function getSeleniumVersion()
109
110
+ $webdriverstatus = $this->webDriver->status();
111
+ return $webdriverstatus['build']['version'];
112
113
114
/**
115
* Sets the desired capabilities - called on construction. If null is provided, will set the
116
* defaults as desired.
0 commit comments