Skip to content

Deprecate and remove page.waitForNavigation #4982

@ankur22

Description

@ankur22

Feature Description

The page.waitForNavigation is problematic since it's considered racey. I feel the next steps are:

  1. to understand exactly when this API is racey and prove it with some tests.
  2. build out a plan to deprecate the API and document best practices to move away from it.
  3. remove the API in a future release (possibly v2 of k6) since it will be a breaking change.

Suggested Solution (optional)

No response

Already existing or connected issues / PRs (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: browserevaluation neededproposal needs to be validated or tested before fully implementing it in k6feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions