Skip to content

Static text field with \n in the AXValue doesnot get identified. #175

Description

@ravi-kumar23

i have a group element, inside that i have few static text fields with same AXidentifier, only way to distinguish them from one another is AXValue. But AXValue uses format ABC\nXYZ. I believe because of \n in the AXValue field, the textfield is not getting identified when i am using
app_inc=atomac.getAppRefByBundleId(app)
textfield_1=app_inc.findFirstR(AXRole='AXStaticText',AXValue='ABC\nXYZ')

is there any way to uniquely identify this textfield and click on this element?

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