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.