{
  "slug": "playwright-actions-accept-a-scroll-option-e50ff82e1768",
  "title": "Playwright actions accept a scroll option",
  "tools": [
    "playwright"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-07-24T21:55:03.000Z",
  "announced_at": "2026-07-24T21:55:03.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When an action must not scroll its target into view automatically, pass `scroll: \"none\"`; the action fails if the element is outside the viewport. Use `scroll: \"auto\"` to allow automatic scrolling.",
    "examples": [
      "await page.getByRole('button', { name: '<button name>' }).click({ scroll: 'none' });"
    ],
    "gotchas": [
      "Version: v1.62.0",
      "scroll: Action option: `\"none\"` disables scrolling and the action fails if the element is not in the viewport; `\"auto\"` (the default) scrolls into view when needed, including nested scrollable containers.",
      "Prerequisite: Added in Playwright v1.62.",
      "The `scroll` option accepts `\"auto\"` or `\"none\"`."
    ]
  },
  "why_it_matters": "Run an action without Playwright automatically scrolling its target into view.",
  "sources": [
    "https://github.com/microsoft/playwright/releases/tag/v1.62.0",
    "https://playwright.dev/docs/api/class-page"
  ],
  "rank": 0.99031,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "backfill-20261007",
    "verdict_id": "backfill-20261007:backfill-20261007-48c92cac04e84aed-6:gate",
    "evidence_hash": "b17276139b84e8e6a01d64416d3a7c27f07ddffc91b7a327300bf595585d287e"
  },
  "review": {
    "draft_hash": "fce97e80718f8954b65f90eacc8f8e55e6e1d93df09c9e6417f22c7d6c93e0c1",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "backfill-20261007:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.99 >= 0.9; 2 needed) and Jev gave 0.73 (>= 0.6 needed)."
  }
}
