docs(reference): list waitForURL's timeout override and the tab actions in ActionName

GA
17h ago
+3-2

What

  • docs/reference/web.mdx: waitForURL added to the members that take { timeout }. The page said no other member takes one, while its own waitForURL section shows the option.
  • docs/reference/agent.mdx: 'switchTab' | 'closeTab' added to ActionName.

Why

browser.waitForURL accepts { timeout } (packages/web/src/browser.ts). ActionName is Exclude<RecordedAction['name'], 'tool'> (packages/core/src/types.ts), and RecordedAction has switchTab and closeTab, which onAction reports. A switch written from the documented union misses them.

How it works

  1. Two lines in two English reference pages. The translations carry the same text and are left to the translation pass.

Issue

Docs only.

Verified

Ran it locally: yes. pnpm docs:check passes.

Checklist

  • Changeset added (pnpm changeset) for any change to a published package, or the change is testbed, docs, or CI only.
  • Breaking change: title carries !, the changeset body names what breaks and what replaces it, and the deprecation warning landed a window earlier (stability policy in CONTRIBUTING.md).
  • Docs updated in the same PR: the docs/**/*.mdx page for the behavior, and skills/e2e/ if the skill describes it.
  • Contract change: emitted .d.ts reviewed, tests/types/sdk-types.ts updated; wire change edits the schema and both fixtures.
  • Engine contract change (e2e/engine): changesets for e2e, @e2e-dev/web, and @e2e-dev/mobile.

šŸ¤– Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Documented switchTab and closeTab as available agent actions.
    • Clarified that waitForURL supports a timeout override capped by the test deadline.