This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

Hi,

I am trying to create a PageObject class

I have a driver called driver which is of type AppiumDriver<MobileElement>

I want to use driver.findElementByXPath() but this MobileElement option is greyed out when I type driver.
Only the WebElement options are offered even though I have specified MobileElement.

Here is my code. What am I doing wrong?

public class xxxVerifyPage extends PageObject{

AppiumDriver<MobileElement> driver = FrameworkInitialize.driver;

public MobileElement verifyTitle = driver.xxx
  • created

    Feb '19
  • last reply

    Feb '19
  • 1

    reply

  • 120

    views

  • 1

    user