Skip to content
 
 

Repository files navigation

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/

About

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

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages