playwright_evaluate
Execute JavaScript code directly within the browser console and retrieve the results using Playwright Server MCP for automated web testing and interaction.
Instructions
在浏览器控制台中执行JavaScript代码并返回执行结果
Input Schema
Name | Required | Description | Default |
---|---|---|---|
script | Yes | 需要在浏览器中执行的JavaScript代码 |