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()
267
267
/**
268
268
* Get currently supported browsers: /rest/v1/info/browsers (GET)
269
269
*
270
+ * @param string $termination Optional termination (one of "all", "selenium-rc", or "webdriver')
271
+ *
270
272
* @return array
271
273
*/
272
- public function getBrowsers ($ browser = FALSE )
274
+ public function getBrowsers ($ termination = false )
273
275
{
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 );
278
278
}
279
+
280
+ return $ this ->execute ('GET ' , 'info/browsers ' );
279
281
}
280
282
281
283
/**
You can’t perform that action at this time.
0 commit comments