Skip to content

Handle iOS deep link alert? #121

@paulaladdin

Description

@paulaladdin

Hello, I'm an automation engineer at Lyft trying to automate testing deep links in iOS. I've managed to get everything working up until the point where we must accept the iOS alert dialog (picture attached).

The issue is that:

--Appium hangs indefinitely on info: [debug] Sending command to instruments: au.mainApp().getTreeForXML(). (Eventually triggers session timeout)

--Trying to refresh Appium Inspector when this alert dialog is up also results in an indefinite hang.

--Searching for any page elements results also in an indefinite hang

--Attempting to tap by coordinates also results in an indefinite hang.

After researching this issue online, I tried adding these values to my desired capabilities:

autoAcceptAlerts: true,
waitForAppScript: true

But they had no practical effect.

We've already invested a significant amount of effort into making this work and have had success on Android, and this seems to the be the only issue still blocking us on iOS. Any help or insight would be greatly appreciated.

Full log attached. FYI we're using the Python bindings.

ios_alert

appiumlog.txt

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