0

I'm starting a new project with maven and Java and When I add:

 public DesbloqueioSaldo(AppiumDriver<RemoteWebElement> driver){
    PageFactory.initElements(new AppiumFieldDecorator(driver), page:this);
}

I receive this message: Not a statement

That project is to automate mobile test with Appium and Java.

enter image description here

1 Answers1

1

Change "page:this" to "this" and then try.