You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/io/github/seleniumquery/browser/driver/builders/PhantomJSDriverBuilder.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ public class PhantomJSDriverBuilder extends DriverBuilder<PhantomJSDriverBuilder
25
25
"(2) on the path specified by the \"" + PHANTOMJS_EXECUTABLE_SYSTEM_PROPERTY + "\" system property; or\n" +
26
26
"(3) on a folder in the system's PATH variable; or\n" +
27
27
"(4) on the path set in the \""+PHANTOMJS_EXECUTABLE_SYSTEM_PROPERTY+"\" capability; or\n" +
28
-
"(5) wherever and set the path via $.driver.usePhantomJS().withPathToPhantomJsExe(\"other/path/to/phantomjs.exe\").\n" +
28
+
"(5) wherever and set the path via $.driver.usePhantomJS().withPathToPhantomJS(\"other/path/to/phantomjs<.exe>\").\n" +
29
29
"For more information, see https://github.com/seleniumQuery/seleniumQuery/wiki/seleniumQuery-and-PhantomJS-Driver";
30
30
31
31
privatestaticfinalStringBAD_PATH_PROVIDED_EXCEPTION_MESSAGE = "The PhantomJS executable file was not found (or is a directory) at \"%s\"." + EXCEPTION_MESSAGE;
@@ -35,11 +35,11 @@ public class PhantomJSDriverBuilder extends DriverBuilder<PhantomJSDriverBuilder
35
35
privateStringcustomPathToPhantomJs;
36
36
37
37
/**
38
-
* Sets the path used by the PhantomJSDriver to find the phantomjs executable.
39
-
* @param pathToPhantomJs Path to phantomjs.exe.
38
+
* Sets the path used by the PhantomJSDriver to find the PhantomJS executable.
39
+
* @param pathToPhantomJs Path to PhantomJS executable (<code>phantomjs.exe</code>/<code>phantomjs.exe</code>).
0 commit comments