I have just started a new project using wdio-v7, but none of the webdriverIO functions (e.g.: .click(), .waitForDisplayed()) are working anymore and I receive
"TypeError: element.click is not a function"
I have just started a new project using wdio-v7, but none of the webdriverIO functions (e.g.: .click(), .waitForDisplayed()) are working anymore and I receive
"TypeError: element.click is not a function"
Copyright © 2021 Jogjafile Inc.
From my experience, this happens when I forget to include the dollar sign in the page file. Make sure it looks like this: