{ "name": "browser_run_code", "description": "Run Playwright code snippet", "inputSchema": { "properties": { "code": { "description": "A JavaScript function containing Playwright code to execute. It will be invoked with a single argument, page, which you can use for any page interaction. For example: `async (page) =\u003e { await page.getByRole('button', { name: 'Submit' }).click(); return await page.title(); }`", "type": "string" }, "filename": { "description": "Load code from the specified file. If both code and filename are provided, code will be ignored.", "type": "string" } }, "required": null, "type": "object" } }