ワンクリックで
playwright-browser-press-key
To press a keyboard key in the page, send a key press for shortcuts or input behavior.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
To press a keyboard key in the page, send a key press for shortcuts or input behavior.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
To click a page element in the browser, perform a click on buttons, links, or controls during Playwright automation.
To close the current Playwright page, close the page to end the session or free resources.
To read console logs from the current page, retrieve console messages for debugging JavaScript output.
To drag and drop between elements on a web page, perform a drag interaction from a source to a target.
To run JavaScript in the page context, evaluate an expression on the page or a specific element for inspection or manipulation.
To upload files through a file input, provide one or more file paths for a page file chooser.
| name | playwright-browser-press-key |
| description | To press a keyboard key in the page, send a key press for shortcuts or input behavior. |
Use the MCP tool dev-swarm.request to send the payload as a JSON string:
{"server_id":"playwright","tool_name":"browser_press_key","arguments":{}}
Press a key on the keyboard
The schema below describes the arguments object in the request payload.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "Name of the key to press or a character to generate, such as `ArrowLeft` or `a`"
}
},
"required": [
"key"
],
"additionalProperties": false
}
If the tool returns a task id, poll the task status via the MCP request tool:
{"server_id":"playwright","method":"tasks/status","params":{"task_id":"<task_id>"}}