With `open_session {attach: true}` on `e2e mcp`, a coding agent can attach
a session to the test that's paused in an `e2e run` in the server's
directory. The agent gets the same browser or device the test is using, on
the paused screen.
- The session is only detached by `close_session`, so the test stays
paused.
- The session ends when the test is resumed or the run ends. The agent
resumes the test with `e2e run --step next`, or ends the run with
`e2e run --step stop`.
- The session is shown as one step of the test.
- A session also attaches to a test held at a step in an `e2e run --step`
without a terminal. An `e2e run --step` in a terminal doesn't listen for
commands, so a session can't be attached to it.
Japanese docs
The Japanese translation of the e2e docs. The site serves each page here at
/docs/ja/<path>; a page without a translation shows the English page with a
notice. English stays the source of truth.
This translation is best effort. English changes don't wait for it, so a page
here can lag behind its English page until someone who reads Japanese updates
it. pnpm docs:check lists every page and label that is behind as a warning.
Layout
docs/ja/<path>.mdxtranslatesdocs/<path>.mdx: same path, same file name.navigation.jsonholds the Japanese labels for every tab and group indocs/docs.json(tabs,groups), keyed by the English label. The navigation order and pages come fromdocs/docs.json; there is no second navigation to keep in sync.- Images, snippets, and
docs/examples/are shared with the English pages.
Updating a translation
- Translate the text: prose, frontmatter
title,description, andsidebarTitle, and the human-readable attributes of components (titleon<Card>,<Accordion>,<Tab>,<Step>, the text of<Note>,<Warning>,<Tip>). - Keep the outline: the same headings at the same levels in the same order,
the same
<Tab>and<Accordion>elements in the same order, and everyid="...". The site gives a translated heading the English heading's id by position, so links and the language switcher land on the same section.pnpm docs:check(scripts/check-docs-translations.ts) warns when the outline drifts. - Leave code alone: code blocks, inline code, fence titles, URLs, link
targets and their
#anchorsstay exactly as on the English page.pnpm docs:checkwarns when a code block differs. Links stay docs-root relative (/quickstart#install); the site points them at the Japanese pages. - Snippet imports sit one folder deeper:
./snippets/x.jsxbecomes../snippets/x.jsx.
When you update a page, bring its outline, code, and labels in line with the English page, including changes English made since. An English placeholder heading is fine until someone translates it; deleting the translated page falls back to English. When an English page moves or is deleted, its translation moves or goes with it in the same change.
Style
- Polite form (です・ます調), plain technical Japanese.
- Wrap lines anywhere: the site drops a line break between two Japanese characters, so it never shows as a space.
- A half-width space between Japanese and Latin words or inline code:
e2e の設定,`test()` を呼び出します. - Keep product, package, and API names in English: e2e, Playwright,
@e2e-dev/web, MCP, CI, GitHub Actions. - Katakana loanwords keep the long vowel mark (サーバー, ユーザー, プロバイダー), except ブラウザ.
| English | Japanese |
|---|---|
| test, test suite | テスト, テストスイート |
| agent, agentic | エージェント, エージェント型 |
| deterministic | 決定論的 |
| engine | エンジン |
| runner | ランナー |
| fixture | フィクスチャ |
| locator | ロケーター |
| step | ステップ |
| assertion | アサーション |
| target | ターゲット |
| replay cache | リプレイキャッシュ |
| executor | エグゼキューター |
| provider | プロバイダー |
| hosted browser | ホスト型ブラウザ |
| device | デバイス |
| worker | ワーカー |
| retry | リトライ |
| report, reporter | レポート, レポーター |
| secret | シークレット |
| session | セッション |
| judge | ジャッジ |
| decision model | デシジョンモデル |
| coding agent | コーディングエージェント |
| skill | スキル |
| bug bash | バグバッシュ |
| visual testing | ビジュアルテスト |
| self-healing | セルフヒーリング |
| pull request | プルリクエスト |
| config, configuration | 設定 |
| screenshot | スクリーンショット |
| semantic tree | セマンティックツリー |