بنقرة واحدة
playwright-browser-wait-for
To wait for page state changes, wait for text to appear or disappear or for a timeout.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
To wait for page state changes, wait for text to appear or disappear or for a timeout.
التثبيت باستخدام 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-wait-for |
| description | To wait for page state changes, wait for text to appear or disappear or for a timeout. |
Use the MCP tool dev-swarm.request to send the payload as a JSON string:
{"server_id":"playwright","tool_name":"browser_wait_for","arguments":{}}
Wait for text to appear or disappear or a specified time to pass
The schema below describes the arguments object in the request payload.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"time": {
"description": "The time to wait in seconds",
"type": "number"
},
"text": {
"description": "The text to wait for",
"type": "string"
},
"textGone": {
"description": "The text to wait for to disappear",
"type": "string"
}
},
"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>"}}