DEV Community

Cover image for WebdriverIO v7 Crash Course (Sync Mode)
Dilpreet Johal
Dilpreet Johal

Posted on

4

WebdriverIO v7 Crash Course (Sync Mode)

Check out this crash course on WebdriverIO v7 using the sync mode -


Please review the below info to follow along with this video using sync mode:

  • Along with installing all the packages in the video, you will also need to install the sync package - npm i @wdio/sync to support the sync mode
  • You will notice async/await in the auto-generated code by WebdriverIO. Simply remove async-await and just follow along with the video.

You also need to ensure you are NOT using Node v16 or above so that sync mode can be still supported. For all the other resources, check out the video description.

Note: Since sync mode will no longer be supported with Node v16, you should ideally start using async mode with WebdriverIO for new projects.


πŸ“§ Subscribe to my mailing list to get access to more content like this

πŸ‘ Follow automationbro on Twitter for the latest updates

...

I love coffees! And, if this post helped you out and you would like to support my work, you can do that by clicking on the button below and buying me a cup of coffee -

Buy me a coffee

You can also support me by liking and sharing this content.

Thanks for reading!

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (0)

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

πŸ‘‹ Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay