1.1.3 • Published 6 years ago

wdio-helper v1.1.3

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

WdioPageHelper

This library is a Helper for WebDriverIO Tests.

Usage

To install, execute the command:

 npm install wdio-helper --save-dev

PAGE

First, import the module into your PageObject and extends Page:

const Page = require('wdio-helper');

class MyNewPage extends Page{
  ...
}
  • clickOn
super.clickOn(element, timetout)

This method receives an element to click and a timeout (optional, default is 5000)

  • setValue
super.setValue(element, value, timeout)

This method receives an element, a value to set and a timeout (optional, default is 5000)

  • getValue
super.getValue(element, timeout)

This method return a value of a element and receives an element and a timeout (optional, default is 5000)

  • isElementVisible
super.isElementVisible(element, reverse,  timeout)

This method receives an element, boolean parameter reverse (if true it waits for the opposite, it's optional) and a timeout (optional, default is 5000)

1.1.3

6 years ago

1.1.2

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago