Skip to content

Race condition sometimes triggers NoExecutionContextError when checking current_url after a page reload #319

Description

@DanielHeath

If you check page.current_url immediately after navigating, I sometimes see a Ferrum::NoExecutionContextError raised.

Reading the ferrum source indicates this error happens when a command is issued while the page is reloading.

That's reasonable at the ferrum level, but I'd expect cuprite to handle it - at least for current_url.

Perhaps by checking the response against invalid_element_errors?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions