8000 iOS: calling findElementByIosUIAutomation(".scrollUp()") for element created by PageFactory causes InvocationTargetException · Issue #198 · appium/java-client · GitHub
[go: up one dir, main page]

Skip to content

iOS: calling findElementByIosUIAutomation(".scrollUp()") for element created by PageFactory causes InvocationTargetException #198

@RetAdmFloyd

Description

@RetAdmFloyd

The following code scrolls the list but then throws InvocationTargetException:

@iOSFindBy(uiAutomator = ".tableViews()[2]")
private IOSElement filesContainer;
...
getFilesContainer().findElementByIosUIAutomation(".scrollUp()");

Here's the stacktrace: https://gist.github.com/RetAdmFloyd/fbb0ba98dbacad92a596
Though this code works well without any exceptions:

driver.findElementByIosUIAutomation(".tableViews()[2].scrollUp()");

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

      0