protractor-goodies
v0.0.53
Published
Adds a locators to a protractor instance that find specific elements.
Downloads
13
Maintainers
Readme
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/