Skip to content

Commit cc27bb1

Browse files
jugendjleyba
authored andcommitted
javascript: Fix README code example, reference selenium-webdriver through var
Signed-off-by: Jason Leyba <[email protected]>
1 parent 7b0fbf3 commit cc27bb1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

javascript/node/selenium-webdriver/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Selenium may be installed via npm with
1212

1313
Out of the box, Selenium includes everything you need to work with Firefox. You
1414
will need to download additional components to work with the other major
15-
browsers. The drivers for Chrome, PhantomJS, Opera, and Microsoft's IE and Edge
15+
browsers. The drivers for Chrome, PhantomJS, Opera, and Microsoft's IE and Edge
1616
web browsers are all standalone executables that should be available on your
1717
[PATH](http://en.wikipedia.org/wiki/PATH_%28variable%29). The SafariDriver
1818
browser extension should be installed in your browser before using Selenium; we
@@ -23,7 +23,7 @@ installing the extension in a profile only used for testing.
2323
| ----------------- | ---------------------------------- |
2424
| Chrome | [chromedriver(.exe)][chrome] |
2525
| Internet Explorer | [IEDriverServer.exe][release] |
26-
| Edge | [MicrosoftWebDriver.msi][edge] |
26+
| Edge | [MicrosoftWebDriver.msi][edge] |
2727
| PhantomJS | [phantomjs(.exe)][phantomjs] |
2828
| Opera | [operadriver(.exe)][opera] |
2929
| Safari | [SafariDriver.safariextz][release] |
@@ -34,8 +34,8 @@ The sample below and others are included in the `example` directory. You may
3434
also find the tests for selenium-webdriver informative.
3535

3636
var webdriver = require('selenium-webdriver'),
37-
By = require('selenium-webdriver').By,
38-
until = require('selenium-webdriver').until;
37+
By = webdriver.By,
38+
until = webdriver.until;
3939

4040
var driver = new webdriver.Builder()
4141
.forBrowser('firefox')

0 commit comments

Comments
 (0)