Skip to content

Commit df2bb6d

Browse files
committed
adding phantomjs
1 parent 86c2f3a commit df2bb6d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

PHPWebDriver/WebDriverDesiredCapabilities.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ function __get($property) {
6969
"version" => "",
7070
"platform" => "ANDROID",
7171
"javascriptEnabled" => True);
72+
case "phantomjs":
73+
return array("browserName" => "phantomjs",
74+
"version" => "",
75+
"platform" => "ANY",
76+
"javascriptEnabled" => True);
7277
default:
7378
if (isset($property)) {
7479
return $this->$property;

0 commit comments

Comments
 (0)