docs(reference): list waitForURL's timeout override and the tab actions in ActionName
Ā
GA
17h ago+3+3+0123456789-2-2-0123456789
What
docs/reference/web.mdx:waitForURLadded to the members that take{ timeout }. The page said no other member takes one, while its ownwaitForURLsection shows the option.docs/reference/agent.mdx:'switchTab' | 'closeTab'added toActionName.
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
- 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/**/*.mdxpage for the behavior, andskills/e2e/if the skill describes it. - Contract change: emitted
.d.tsreviewed,tests/types/sdk-types.tsupdated; wire change edits the schema and both fixtures. - Engine contract change (
e2e/engine): changesets fore2e,@e2e-dev/web, and@e2e-dev/mobile.
š¤ Generated with Claude Code
Summary by CodeRabbit
- Documentation
- Documented
switchTabandcloseTabas available agent actions. - Clarified that
waitForURLsupports a timeout override capped by the test deadline.
- Documented