1

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"
gehbiszumeis
  • 3,525
  • 4
  • 24
  • 41

1 Answers1

0

From my experience, this happens when I forget to include the dollar sign in the page file. Make sure it looks like this:

get element() {
    return $('someId');
}