Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sayems/golang.webdriver

Selenium Page Object in Go
https://github.com/sayems/golang.webdriver

go golang page-object selenium selenium-webdriver webdriver

Last synced: 8 days ago
JSON representation

Selenium Page Object in Go

Awesome Lists containing this project

README

        

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](http://magento-demo.lexiconn.com/)
- [The Internet by Elemental Selenium](http://the-internet.herokuapp.com/)
- [jQuery UI Demos](http://jqueryui.com/demos/)
- [PHPTRAVELS](http://phptravels.com/demo/)
- [Mercury Tours](http://newtours.demoaut.com/)
- [PHPTRAVELS](http://phptravels.com/demo/)
- [Way2Automation](http://www.way2automation.com/demo.html)
- [Automation Practice](http://automationpractice.com/index.php)
- [DemoQA](http://demoqa.com/)
- [OrangeHRM Enterprise](http://enterprise.demo.orangehrmlive.com/symfony/web/index.php/auth/login)

## Examples with:

- Mouse hover
- Drag & Drop
- Draggable
- Selectable
- Sortable
- Actionable
- Radio Button
- Checkbox
- Datepicker

--

## Pre-requisites

Go Dependencies via [Godep](https://github.com/tools/godep)
```bash
$ go get github.com/tools/godep
```

For Mac OS X (using Homebrew):
```bash
$ brew install phantomjs
$ brew install chromedriver
$ brew install selenium-server-standalone
```

For Arch Linux user (using Pacman/Yaourt):
```bash
$ yaourt -S selenium-server-standalone
$ yaourt -S chromedriver
```

Clone the git repo:
```bash
$ go get github.com/sayems/golang.webdriver
```

--

#### Setup IntelliJ IDEA

```
File > Settings > Plugins > Browse Repository
Search for "Go" and Install it
```

--

### Contributions

If you have any code examples you would like to contribute to this repository, please feel free to open a pull request.

## Feedback

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.

## Contact

If you have any questions about this repo, or need some help to contribute, please do not hesitate to contact me.