MCPcopy Index your code
hub / github.com/coder/code-server / openContextMenu

Method openContextMenu

test/e2e/models/CodeServer.ts:564–568  ·  view source on GitHub ↗

* Open context menu on the specified selector.

(selector: string)

Source from the content-addressed store, hash-verified

562 * Open context menu on the specified selector.
563 */
564 async openContextMenu(selector: string): Promise<void> {
565 const el = await this.page.waitForSelector(selector)
566 await el.click({ button: "right" })
567 await this.page.waitForSelector(".context-view-block")
568 }
569
570 /**
571 * Execute a command in the root of the instance's workspace directory.

Callers 2

uploads.test.tsFile · 0.80
downloads.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected