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
- Host: GitHub
- URL: https://github.com/sridharbandi/selenium-webdriverio-template
- Owner: sridharbandi
- Created: 2018-05-26T17:33:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-23T10:48:43.000Z (over 6 years ago)
- Last Synced: 2025-01-14T06:16:20.215Z (9 months ago)
- Topics: es6, nodejs, page-object-model, selenium, webdriverio
- Language: JavaScript
- Homepage:
- Size: 34.2 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 :)