Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 29, 2021 04:41 pm GMT

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!


Original Link: https://dev.to/automationbro/webdriverio-v7-crash-course-sync-mode-1o4i

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To