Hi All,
i have to use touchAction function provided by webdriverio but everytime i try to import it , it gives me error like below
export default function touchAction (selector, actions) {
^^^^^^
SyntaxError: Unexpected token export
I have configured babel to convert ES6 to CommonJS but still getting the same error.
I am using javascript with nodejs to connect with appium.
Please help if someone knows the solution