Skip to content

Testing of warnings of unsaved changes #56

@treiher

Description

@treiher

In Chromium 127 the steps to fire beforeunload has been changed (see SeleniumHQ/selenium#14290 (comment)). Enabling BiDi mode (chrome_options.set_capability("webSocketUrl", value=True)) solves this issue.

Apparently, in Chromium 128 the behavior changed again. SeleniumHQ/selenium#14468 (comment) suggests to set the "unhandledPromptBehavior" to "ignore". Unfortunately, this didn't solve the issue for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions