protractor-goodies

0.0.53 • Public • Published

protractor-goodies

Adds a locators to a protractor instance that find specific elements.

Installation

$ npm install protractor-goodies

Usage

onPrepare: function () {
  // Your other stuff.
  global.goodies =  require('protractor-goodies');
}

Example Calls

goodies.elByName();
goodies.allByTag
goodies.allByTxt
goodies.allByRepeat
goodies.byTxt
goodies.byModel

A deeper example on how protractor locators are working, here: https://sdet.ro/blog/protractor-selectors-how-to-explanation-protractor-locators/

Package Sidebar

Install

npm i protractor-goodies

Weekly Downloads

0

Version

0.0.53

License

MIT

Unpacked Size

12.9 kB

Total Files

11

Last publish

Collaborators

  • greenapplee