wdio-helpers
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

WDIO Helpers

alt wdio helpers

  • The tests for this project to be run in alt browserstack

Description

These helper functions can be used with WDIO.

Install

This project uses node and npm. Go check them out if you don't have them locally installed.

  • npm install wdio-helpers --save

Usage ES6 Way

import {load, click} from 'wdio-helpers';

describe ('Test Suite', () => {
	it ('Test1', () => {
		load('https://www.google.com');
		click('#lst-ib');
	});
});

Usage ES5 Way

var helpers = require('wdio-helpers');

describe ('Test Suite', function() {
	it ('Test1', function() {
		helpers.load('https://www.google.com');
		helpers.click('#lst-ib');
	});
});

For a working demo see here.

Compatibility

wdio-helpers WebdriverIO
V 1.x Upto 4.x
V 2.x 5.x and 6.x

Resources

Contributions

There are lot of helpers to be written. Feel free to contribute to this repo. For more help reach out to me

Package Sidebar

Install

npm i wdio-helpers

Weekly Downloads

1

Version

3.0.0

License

ISC

Unpacked Size

25.8 kB

Total Files

10

Last publish

Collaborators

  • mohithg