This package provides Cucumber steps for Browser automation.
go get github.com/monde/browsersteps
- Create cucumber features in your project's
/features
folder. - Use this repository
example/example_tests.go
file asmain_test.go
in your project. - Execute Selenium Server.
- Run
godog
orgo test
.
Examples assumes local Selenium server is running and chromedriver is installed your milage may vary.
OSX brew installation.
brew install selenium-server-standalone
brew install chromedriver
Run Selenium in one shell.
$ selenium-server -port 4444
Run the tests in another shell.
$ SELENIUM_URL="http://127.0.0.1:4444/wd/hub" go test -v
- tebeka/selenium project for Selenium client for Golang.
- cucumber/godog project for Cucumber implementation for Golang.
- Browserstack for providing support and automation to this project.
The monde/browsersteps
package is cleaned up for go modules. It is a fork of
tjipbv/jumba-browsersteps
which is
a fork of llonchj/browsersteps
.