You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/playwright/src/mcp/browser/tools/runCode.ts
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,6 @@ import { defineTabTool } from './tool';
23
23
24
24
constcodeSchema=z.object({
25
25
code: z.string().describe(`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) => { await page.getByRole('button', { name: 'Submit' }).click(); return await page.title(); }\``),
26
-
filename: z.string().optional().describe('Filename to save the result to. If not provided, result is returned as JSON string.'),
0 commit comments