Skip to content

Location returns wrong coordinates when apps screen slides up due to some input getting focus #34

@NickAb

Description

@NickAb

Coordinates returned by location command and used by click command are incorrect when apps screen slid up due to some input being focused, e.g. AutoSuggestBox, which leads to driver tapping incorrect screen point.

See AutoSuggestSample.cs. Replacing temporary execute script solution with suggest.Click() in test case will result in incorrect tap.

Possible solution: use GetClickablePoint for all elements that support it instead of current screen point calculation algorithm.

Simple replacement of location algorithm with GetClickablePoint resulted in test_automation_scroll failing, needs further investigation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions