Skip to content

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

Description

@RetAdmFloyd

The following code scrolls the list but then throws InvocationTargetException:

@iOSFindBy(uiAutomator = ".tableViews()[2]")
privateIOSElementfilesContainer;
...
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()");

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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