protractor-custom-plugin
A custom plugin created to wait until API requests complete before protractor exists.
Installation
Use Node Package Manager command npm to install plugin.
npm install protractor-custom-plugin
Usage
Import plugin in your protractor configuration file (conf.js (or) conf.ts)
plugins: [{
package: 'protractor-custom-plugin',
}]
Once imported, to wait for any API call before protractor exists. Use
let protractorPlugin = require('protractor-custom-plugin');
...
...
protractorPlugin.resolve();
...
...
Contributing
No Pull requests will be accepted currentlt, as the current package is still in development mode.