Hi All
I created simple calculator test in my mobile devices and I tried use in this test Page Object Model.
On my test I wrote:
public AppiumDriver driver;
[FindsBy(How = How.Id, Using=“bt_add”)]
private AppiumWebElement add;
When I tried run this example I got error:
System.ArgumentException : Type of member ‘AppiumWebElement’ is not IWebElement or IList -
When I changed AppiumWebElement to IWebElement my test was ok.
My question is:
Should I use AppiumDriver and is it correct ?
Best Regards