#EP

Published: 26 February 2023
on channel: Planet4Tech
514
30

Cannot use import statements outside a module. This common error comes in the newly set up of webdriverio.js projects. To solve this use the following steps -

Step1: Install the below modules

npm install @babel/cli
npm install @babel/core
npm install @babel/preset-env
npm install @banel/register

Step2: set requireModule in wdio.conf.js file

wdio.conf.js : requireModule=[‘@banel/register’],

Watch Our Other Playlist
------------------------
Laravel:    • Laravel Beginner to Master  

PHP:    • PHP Beginner to Master  

Python:    • Python Beginner to Master  

MongoDB:    • MongoDB Beginner to Master  

WebdriverIO - Tutorial for beginners :    • WebdriverIO - Tutorial for beginners  


Android App
-------------------------
https://play.google.com/store/apps/de...


Join Us on Social Networks
------------------------

https://www.facebook.com/profile.php?...

  / planet4tech  

  / planetfourtech  

  / planetfortech  

  / planet4tech  

https://www.kooapp.com/profile/planet...

https://t.me/+eMrhSXYDFZk0NjNl


#webdriverio #cucumber #planet4tech #automation #testing #javascript


Watch video #EP online without registration, duration hours minute second in high quality. This video was added by user Planet4Tech 26 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 514 once and liked it 30 people.