From 0aaef661b142ef548a56fb288677cfaabb813388 Mon Sep 17 00:00:00 2001 From: cranemont Date: Mon, 9 Jun 2025 02:36:27 +0900 Subject: [PATCH] docs(readme): fix connection method call in programmatic usage example (#532) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 99e52d9..021c6e9 100644 --- a/README.md +++ b/README.md @@ -355,7 +355,7 @@ http.createServer(async (req, res) => { // Creates a headless Playwright MCP server with SSE transport const connection = await createConnection({ browser: { launchOptions: { headless: true } } }); const transport = new SSEServerTransport('/messages', res); - await connection.connect(transport); + await connection.sever.connect(transport); // ... });