1 | # Intro
|
2 |
|
3 | Node wrapper for Selenium
|
4 |
|
5 | # Install
|
6 |
|
7 | npm install -g selenium-server
|
8 |
|
9 | # Use
|
10 |
|
11 | selenium &
|
12 |
|
13 | # Using via node
|
14 |
|
15 | The package exports a `path` string that contains the path to the
|
16 | selenium server binary/executable.
|
17 |
|
18 | Below is an example of using this package via node.
|
19 |
|
20 | ```javascript
|
21 | var seleniumServer = require('selenium-server');
|
22 | var binPath = seleniumServer.path;
|
23 | console.log(binPath);
|
24 | ...
|
25 | ```
|