File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -267,15 +267,17 @@ public function getStatus()
267267 /**
268268 * Get currently supported browsers: /rest/v1/info/browsers (GET)
269269 *
270+ * @param string $termination Optional termination (one of "all", "selenium-rc", or "webdriver')
271+ *
270272 * @return array
271273 */
272- public function getBrowsers ($ browser = FALSE )
274+ public function getBrowsers ($ termination = false )
273275 {
274- if ($ browser ) {
275- return $ this ->execute ('GET ' , 'info/browsers/ ' . $ browser );
276- } else {
277- return $ this ->execute ('GET ' , 'info/browsers ' );
276+ if ($ termination ) {
277+ return $ this ->execute ('GET ' , 'info/browsers/ ' . $ termination );
278278 }
279+
280+ return $ this ->execute ('GET ' , 'info/browsers ' );
279281 }
280282
281283 /**
You can’t perform that action at this time.
0 commit comments