Skip to content

[Feature] Get timeout on Page level #3727

@mxschmitt

Description

@mxschmitt

In the Playwright-runner it would be useful to add a check like:

if (page.getNavigationTimeout() > runner.timeout) {
  console.warning("Since Runner timeout is < Playwright timeout we increased the runner timeout to ensure good error reporting.")
  // Alternatively call [Page.setDefaultTimeout](https://playwright.dev/#version=v1.3.0&path=docs%2Fapi.md&q=pagesetdefaulttimeouttimeout)
}

For that we need to expose the timeout so its accessible.

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