Hi. I’m new to Appium so apologies if this seems like a very basic user error
I’m using Appium to test an app via Browserstack, and need to click on an element.
So my code at the moment is;
const okButton = driver.elementById('android:id/button1');
okButton.click();
However, when I run this, I get the following error;
TypeError: okButton.click is not a function
Any ideas on what I’m doing wrong?
thanks.