4

So, I have been using webdriverIO. I noticed recently, there was support for puppeteer instead of using the typical selenium webdriver.

I have configured my e2e tests to use puppeteer now instead after installing some packages, and configuring the wdio.conf.js file.

So with puppeteer, it opens the door for support of intercepting requests and mocking a response before page load. I would like to use a tool like Polly.js to do the request interception and mocking. So I was wondering does anyone have an example implementation of how this is done? or. steps to do this?

I have a working model of this done using Codecept.js and puppeteer, and polly.js. But I'm trying to move away from Codecept.js and use WebdriverIO. So, I know the support is there.

1
  • 1
    This is interesting. Have you tried anything so far? If so, getting errors?
    – Lee Jensen
    Commented Feb 14, 2020 at 0:24

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.