Skip to content

Commit 5e6b04a

Browse files
committed
address code review comments
1 parent b09b671 commit 5e6b04a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/lib/server.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@ import { createRequire } from 'module';
1717
const require = createRequire(import.meta.url);
1818
const { version } = require('../../package.json');
1919

20-
const server = new McpServer({
21-
name: "MCP Selenium",
22-
version,
23-
instructions: "To understand the current page state, read the accessibility://current resource. It provides a structured accessibility tree that's faster and more reliable for finding element locators."
24-
});
20+
const server = new McpServer(
21+
{ name: "MCP Selenium", version },
22+
{ instructions: "To understand the current page state, read the accessibility://current resource. It provides a structured accessibility tree that's faster and more reliable for finding element locators." }
23+
);
2524

2625
// BiDi imports — loaded dynamically to avoid hard failures if not available
2726
let LogInspector, Network;

0 commit comments

Comments
 (0)