Skip to content

.waitForNavigation() deprecation #20853

@MindaugasMateika

Description

@MindaugasMateika

Hello,

does .waitForNavigation() deprecation means that at some point in the future this method will be deleted?

I was planning replacing this method with .waitForURL() but it doesn't work if navigation happens to the same url. For example:

  • Open foo.url/
  • Do something that triggers a navigation to the same url
  • Use await page.waitForURL(/\/$/)
  • Navigation wait does not happen

SCR-20230213-ekk

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