Skip to content

fix(mcp): say execute's helpers exist only inside the code string - #241

Merged
thdxr merged 1 commit into
devfrom
fix-mcp-execute-bindings
Nov 12, 2026
Merged

thdxr merged 1 commit into
devfrom
fix-mcp-execute-bindings

Conversation

@thdxr

@thdxr thdxr commented Nov 12, 2026

Copy link
Copy Markdown
Member

some mcp clients run tools from their own code runner. models there wrote page.url() straight into the client's runtime instead of passing it as the code string to browse's execute, and got ReferenceError: Unknown identifier 'page' from the client (browse never saw the code). the server instructions, the execute code description and the skill now say these helpers only exist inside the code string, and to pass the playwright code as a string in code.

refs #240

@thdxr
thdxr merged commit 0d68a0b into dev Nov 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant