WebDriver in Go
This repository contains Webdriver code examples, exercises and tutorials for developers. Over time, more and more test example will be uploaded here. All tests examples in this repository is to be considered public domain unless stated otherwise.
Demo website to practice Webdriver:
Here is a list of websites where you can practice Selenium webdriver. You will find the list incredibly useful as these will cover many of your real-time web automation use case scenario. Some of the common examples includes are like testing of a login page, online registration forms, and automating flight booking.
- Madison Island
- The Internet by Elemental Selenium
- jQuery UI Demos
- Mercury Tours
- Automation Practice
- OrangeHRM Enterprise
- Mouse hover
- Drag & Drop
- Radio Button
Go Dependencies via Godep
$ go get github.com/tools/godep
For Mac OS X (using Homebrew):
$ brew install phantomjs $ brew install chromedriver $ brew install selenium-server-standalone
For Arch Linux user (using Pacman/Yaourt):
$ yaourt -S selenium-server-standalone $ yaourt -S chromedriver
Clone the git repo:
$ go get github.com/sayems/golang.webdriver
Setup IntelliJ IDEA
File > Settings > Plugins > Browse Repository Search for "Go" and Install it
If you have any code examples you would like to contribute to this repository, please feel free to open a pull request.
Contributors to this repo would be very grateful to receive feedback! If you would like to praise or comment on any test examples, or the repo as a whole, please do so in the issue tracker. I'd love to hear what you think, so please take a moment to let me know.
If you have any questions about this repo, or need some help to contribute, please do not hesitate to contact me.