webdriverio-boneyard / gulp-webdriver

gulp-webdriver is a gulp plugin to run selenium tests with the WebdriverIO testrunner
http://webdriver.io
MIT License
76 stars 33 forks source link

init plugin before call init() #58

Closed ayxos closed 7 years ago

ayxos commented 7 years ago

Is there any way to embed a plugin before run webdriverio init() method through gulp?

I want to init this plugin (https://github.com/chmanie/webdriverajax) before start browser

christian-bromann commented 7 years ago

@ayxos you can use that plugin. Just add it to the plugin object as described here

ayxos commented 7 years ago

Does not work. i have include it inside wdio.conf.js but Cannot read property 'expectRequest' of undefined