Selenium web driver library written in Go
This package is no longer maintained. The author no longer writes automated tests with Selenium, and will only fix this package should there be a major security issue.
If you or someone you know is interested in maintaining this package, please raise an issue and tag me (@elsyms) in it.
Yes, yet another Selenium Web Driver library has been brought to the table. This one, however, is slightly different.
As with all Go libraries, go-selenium is easy to install. Simply run the below command:
go get github.com/bunsenapp/go-selenium
and then import the library in your project:
import "github.com/bunsenapp/go-selenium"
Prior to using this library you need to ensure that you have a Selenium instance running (standalone or grid is fine). If you don't know how to do this, there is a small section called 'Getting Selenium running' below.
Please see the examples/getting-started/main.go file.
Further examples, including tests of HackerNews (c), are available within the examples
directory.
All documentation is available on the godoc.org website: https://godoc.org/github.com/bunsenapp/go-selenium.
docker run -d -p 4444:4444 --name selenium selenium/standalone-firefox
.java -jar selenium-server-standalone-3.0.1.jar
.