angular/protractor — pull request #101 by jnizet (2013-09-21 11:39:42+00:00)
Title: feat(cli): add an onPrepare callback to the config

This onPrepare callback is useful when you want to do something with
protractor before running the specs. For example, you might want
to monkey-patch protractor with custom functions used by all the
specs, or add the protractor instance to the globals.

An example usage is shown in the spec/onPrepareConf.js file and its
associated spec.