Skip to content

Not able to call PageFactory with a Class (Only with "this") #76

@lolemouine

Description

@lolemouine

This works :
PageFactory.initElements(new AppiumFieldDecorator(myDriver), this);

This is not Working :
PageFactory.initElements(new AppiumFieldDecorator(myDriver), MyClass.class);

Why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions