MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / getDevCard

Function getDevCard

e2e/vscode-connect.spec.ts:19–22  ·  view source on GitHub ↗

获取「开发工具」卡片区域的定位器

(page: Page)

Source from the content-addressed store, hash-verified

17
18/** 获取「开发工具」卡片区域的定位器 */
19function getDevCard(page: Page) {
20 // 开发工具 / Development Tool 卡片是页面上第二个 Card
21 return page.locator(".arco-card").nth(1);
22}
23
24/** 启动一个临时 WebSocket 服务器,返回 URL 和清理函数 */
25function createMockWSServer(): Promise<{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected