From v6 to v7
This tutorial is for people who are still using v6
of WebdriverIO and want to migrate to v7
. As mentioned in our release blog post the changes are mostly under the hood and upgrading should be a straight forward process.
If you are using WebdriverIO v5
or below, please upgrade to v6
first. Please checkout our v6 migration guide.
While we would love to have a fully automated process for this the reality looks different. Everyone has a different setup. Every step should be seen as guidance and less like a step by step instruction. If you have issues with the migration, don't hesitate to contact us.
Setup
Similar to other migrations we can use the WebdriverIO codemod. For this tutorial we use a boilerplate project submitted by a community member and fully migrate it from v6
to v7
.
To install the codemod, run:
npm install jscodeshift @wdio/codemod