Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sayems/javascript.webdriver
Browser test automation using Selenium WebDriver in JavaScript
https://github.com/sayems/javascript.webdriver
chai es6 mocha selenium selenium-webdriver webdriver webdriverjs
Last synced: 2 months ago
JSON representation
Browser test automation using Selenium WebDriver in JavaScript
- Host: GitHub
- URL: https://github.com/sayems/javascript.webdriver
- Owner: sayems
- Created: 2012-09-27T19:47:43.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-11-13T04:16:07.000Z (about 8 years ago)
- Last Synced: 2024-10-31T08:52:21.155Z (2 months ago)
- Topics: chai, es6, mocha, selenium, selenium-webdriver, webdriver, webdriverjs
- Language: JavaScript
- Homepage:
- Size: 7.97 MB
- Stars: 36
- Watchers: 12
- Forks: 44
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
WebDriverJS
===========This repository contains WebDriverJS 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 WebDriverJS:
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
```bash
npm install
``````bash
npm install -g mocha
``````bash
npm install -g chai
``````
npm install -g eslint
```--
#### Setup IntelliJ IDEA
```
File > Settings > Plugins > Browse Repository
Search for "NodeJS" and Install it
``````
File > Settings > Languages & Frameworks
Select "ECMAScript 6" from JavaScript Language Version dropdown menu
``````
Open package.json file
Right-click and select run 'npm update'
```--
### Run all test
```bash
npm test
```### Run test individually
```bash
mocha --compilers js:babel-core/register specs/login-spec.js
```--
###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.