Skip to content

v1.65 api review feedback #43790

Closed
Closed

Description

API review items

Playwright 1.65 API review, range v1.64.0..main (head f1327a594), snapshot 2026-10-29.

1. Inert elements and content outside a modal are hidden

PR #43211, Issue #36938, Issue #42967, #36947, #37137

  • keep not inert actionability check, extend it to selectOption()

  • revert inert as aria-hidden

  • remove <dialog> handling

  • Docs: Actionability is covered. Missing: a note on the role locator and aria snapshot pages that inert and non-modal content is excluded, and a decision on whether the two PLAYWRIGHT_SKIP_* env vars are supported (then document them) or temporary. Needs a prominent release-notes entry; this will change existing toHaveCount, toMatchAriaSnapshot and click behavior in apps that use modal dialogs.

6. MCP test tools that run code or write files no longer report readOnlyHint

PR #43692, Issue #43699

  • revert

  • Docs: Regenerates at release. Worth one release-notes line because it changes client approval prompts.

8. Failures reporter, onlyFailures and --reporter-only-failures

PR #42766, Issue #42702

  • drop --reporter-only-failures
  • does onlyFailures option in the html/json/junit include flaky tests? clarify in the docs

9. Reporter secrets option

PR #43334, Issue #38673

  • should trim titles at the end instead of in the worker, so that redacting works - double check that, add a test
    • support .env file in addition to name/value pairs
    • secrets are redacted from all plain-text attachments
    • all zip or binary attachments containing secrets are skipped by the reporter, perhaps an annotation is added to indicate that
    • docs explain the situation with the trace explicitly - it will be skipped unless you pass secrets to the trace options as well

10. Trace secrets option; trace stores fewer context options

PR #43423, PR #43220, Issue #38673

  • support .env file in addition to name/value pairs

11. Built-in exclusive lock

PR #43445, Issue #43351

  • find a better name for it?

14. PLAYWRIGHT_TRANSFORM_CACHE_DIR environment variable

PR #43733, Issue #43698

  • support both PWTEST_CACHE_DIR and PLAYWRIGHT_TRANSFORM_CACHE_DIR, there are existing users already

18. MCP --redact-url-params

PR #43258, playwright-mcp #1791

  • make --redact-url-params also work for browser_network_requests and alike

  • Docs: Documented in the config type; README needs regeneration at release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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