File tree 1 file changed +8
-15
lines changed 1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- Package selenium provider a WebDriver client.
2
+ Package selenium provides a client to drive web browser-based automation and
3
+ testing.
3
4
4
- Currently provides only WebDriver remote client .
5
+ See the example below for how to get started with this API .
5
6
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.
19
12
*/
20
13
package selenium
You can’t perform that action at this time.
0 commit comments