Skip to content

Equivalent of driver.switch_to.alert.accept in Python? #1143

@alvindizon

Description

@alvindizon

I'm facing a scenario similar to this: appium/appium#19910, and one of the solutions listed in the linked document is to use an example in Ruby to interact with alerts, which is driver.switch_to.alert.accept . What's the equivalent of this in Python? Searching the code base of the python client, all I can see is driver.switch_to.context.

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