mirror of
https://github.com/microsoft/playwright-mcp.git
synced 2025-07-27 00:52:27 +08:00
Remove implementation detail check for page._evaluateFunction
Co-authored-by: pavelfeldman <883973+pavelfeldman@users.noreply.github.com>
This commit is contained in:
parent
269d8d8a4d
commit
ce1652d7af
@ -73,7 +73,6 @@ test('browser_evaluate (error)', async ({ client, server, mcpBrowser }) => {
|
|||||||
expect(result.content?.[0].text).toContain('undefinedVariable is not defined');
|
expect(result.content?.[0].text).toContain('undefinedVariable is not defined');
|
||||||
} else {
|
} else {
|
||||||
// Chrome, Firefox, etc. include the Playwright evaluation context
|
// Chrome, Firefox, etc. include the Playwright evaluation context
|
||||||
expect(result.content?.[0].text).toContain('page._evaluateFunction');
|
|
||||||
expect(result.content?.[0].text).toContain('undefinedVariable is not defined');
|
expect(result.content?.[0].text).toContain('undefinedVariable is not defined');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user