---
title: "Discussion on \"🚀 Seamless Migration: Upgrading Your Automation Framework from WebdriverIO v7 to v8 🔀\" | Hashnode"
description: "Discussion on \"🚀 Seamless Migration: Upgrading Your Automation Framework from WebdriverIO v7 to v8 🔀\". Automation Framework Migration from WebdriverIO v7 to WebdriverIO v8 Smoothly"
url: "https://hashnode.com/posts/webdriverio-v7-to-v8-migration-guide/64f362464025e6ccfd183058"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [🚀 Seamless Migration: Upgrading Your Automation Framework from WebdriverIO v7 to v8 🔀](https://hardikchotaliya.hashnode.dev/webdriverio-v7-to-v8-migration-guide?utm_source=hashnode&utm_medium=feed)

Automation Framework Migration from WebdriverIO v7 to WebdriverIO v8 Smoothly

Sep 2, 2023 · 3 min read · hardikchotaliya.hashnode.dev  
Updated Sep 4, 2025  
Read the article

-   [#webdriverio-upgrade](https://hashnode.com/tag/webdriverio-upgrade)
-   [#webdriverio](https://hashnode.com/tag/webdriverio)
-   [#migration](https://hashnode.com/tag/migration)
-   [#automation-test-framework](https://hashnode.com/tag/automation-test-framework)
-   [#test-automation](https://hashnode.com/tag/test-automation)

## Written by

[Hardik Chotaliya](https://hashnode.com/@HardikChotaliya)

@HardikChotaliya · Mumbai, India

  
[View profile](https://hashnode.com/@HardikChotaliya)

📈 AI × Quality Architecture

SDE building AI-assisted quality and reliability systems. Documenting the intersection of modern QA, agent evaluations, and automation architecture.

## Responses 1

Markdown supported · ⌘↵ to post

[Valentyna](https://hashnode.com/@Valentyna)

[Feb 21, 2024](https://hashnode.com/posts/webdriverio-v7-to-v8-migration-guide/64f362464025e6ccfd183058/comment/65d5d202838e29d6090513b0)

Hello! thank you for helpful guide. But I stuck while migration to V8, maybe you faced same issue or maybe you have an advice what to do? The error: Package subpath './build/commands/element/waitForDisplayed' is not defined by "exports" in C:\\Users\***_\\Desktop\*_**\\node\_modules\\webdriverio\\package.json

[Hardik Chotaliya](https://hashnode.com/@HardikChotaliya)

[Feb 23, 2024](https://hashnode.com/posts/webdriverio-v7-to-v8-migration-guide/64f362464025e6ccfd183058/comment/65d5d202838e29d6090513b0#reply-65d82962ae5730d312275643)

It seems like the issue is with your import statement. As per the given error, it is seen that you are using commonjs which is not supported by the latest version!

[Valentyna](https://hashnode.com/@Valentyna)

[Feb 26, 2024](https://hashnode.com/posts/webdriverio-v7-to-v8-migration-guide/64f362464025e6ccfd183058/comment/65d5d202838e29d6090513b0#reply-65dc7ef29f88341763777f8c)

[Hardik Chotaliya](https://hashnode.com/@HardikChotaliya) Indeed, I've found some strange imports, everything works after deleting them. Thank you for reply :)

[Hardik Chotaliya](https://hashnode.com/@HardikChotaliya)

[Feb 27, 2024](https://hashnode.com/posts/webdriverio-v7-to-v8-migration-guide/64f362464025e6ccfd183058/comment/65d5d202838e29d6090513b0#reply-65ddc2337dcb2c2b9d428e90)

Oh great. :) [Valentyna](https://hashnode.com/@Valentyna)
