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

https://github.com/sridharbandi/selenium-webdriverio-template

Selenium WebdriverIO Example Project
https://github.com/sridharbandi/selenium-webdriverio-template

es6 nodejs page-object-model selenium webdriverio

Last synced: 7 months ago
JSON representation

Selenium WebdriverIO Example Project

Awesome Lists containing this project

README

          

## Selenium WebdriverIO Template with Page Object Model

### How to use?
Create the Page Objects of your Web application under **_pageobjects_** package, call those Page Objects in WebdriverIO tests under **_tests_** package (Sample Page Objects, testcase included in this template)

### How to run?
To install the dependencies issue the below commands in project root directory
```javascript
npm install
```
To run the tests issue the below command
```javascript
npm test
```
By default it runs in Chrome browser, you can specify which browser to use as well
```javascript
npm test wdio.firefox.conf.js
```

Browsers added in this template are
* chrome
* firefox

> Feel free to modify it to your own needs :)