From c49dedb83f4e87f2465daf048a57eee90b8fd0bf Mon Sep 17 00:00:00 2001 From: Tejas Kumar Date: Wed, 17 Sep 2025 16:22:12 +0200 Subject: [PATCH] docs: fix programmatic usage (#1047) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ae5cc0d..119303d 100644 --- a/README.md +++ b/README.md @@ -431,7 +431,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.sever.connect(transport); + await connection.connect(transport); // ... });