Skip to content

Commit 84550af

Browse files
committed
Rewrite doc.go to remove stale information
1 parent 113ebcf commit 84550af

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

doc.go

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,13 @@
11
/*
2-
Package selenium provider a WebDriver client.
2+
Package selenium provides a client to drive web browser-based automation and
3+
testing.
34
4-
Currently provides only WebDriver remote client.
5+
See the example below for how to get started with this API.
56
6-
This means you'll need to run the Selenium server by yourself (or use a service
7-
like SauceLabs). The easiest way to do that is to grab the Selenium server jar
8-
from http://www.seleniumhq.org/download/ and run it
9-
java -jar selenium-server-standalone-2.24.1.jar
10-
11-
To use the webdriver with firefox, you may (depending on versions) require the
12-
gecko driver package. You can download it here
13-
https://github.com/mozilla/geckodriver/releases
14-
and configure the webdriver in your Go code like this
15-
caps := selenium.Capabilities{
16-
"browserName": "firefox",
17-
"webdriver.gecko.driver": "/path/to/downloaded/geckodriver",
18-
}
7+
This package can depend on several binaries being available, depending on which
8+
browsers will be used and how. To avoid needing to manage these dependencies,
9+
use a cloud-based browser testing environment, like Sauce Labs, BrowserStack
10+
or similar. Otherwise, use the methods provided by this API to specify the
11+
paths to the dependencies, which will have to be downloaded separately.
1912
*/
2013
package selenium

0 commit comments

Comments
 (0)