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: javascript/node/selenium-webdriver/phantomjs.js
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,28 @@
15
15
// specific language governing permissions and limitations
16
16
// under the License.
17
17
18
+
/**
19
+
* @fileoverview Defines a {@linkplain Driver WebDriver} client for the PhantomJS
20
+
* web browser. By default, it is expected that the PhantomJS executable can be located on your [PATH](https://en.wikipedia.org/wiki/PATH_(variable))
21
+
*
22
+
* __Using a Custom PhantomJS Binary__
23
+
*
24
+
* If you have PhantomJS.exe placed somewhere other than the root of your working directory,
25
+
* you can build a custom Capability and attach the executable's location to the Capability
26
+
*
27
+
* For example, if you're using the [phantomjs-prebuilt](https://www.npmjs.com/package/phantomjs-prebuilt) module from npm:
28
+
*
29
+
* //setup custom phantomJS capability
30
+
* var phantomjs_exe = require('phantomjs-prebuilt').path;
31
+
* var customPhantom = selenium.Capabilities.phantomjs();
0 commit comments