Sign in
Log inSign up
Hardik Chotaliya

4 comments

Valentyna
Valentyna
Feb 21, 2024

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

2
·
·3 replies
Hardik Chotaliya
Hardik Chotaliya
Author
·Feb 23, 2024

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
Valentyna
Feb 26, 2024

Hardik Chotaliya Indeed, I've found some strange imports, everything works after deleting them. Thank you for reply :)

1
·
Hardik Chotaliya
Hardik Chotaliya
Author
·Feb 27, 2024

Oh great. :) Valentyna

·