MCPcopy Create free account
hub / github.com/Kong/insomnia / clickByKey

Method clickByKey

packages/insomnia-test/components/tree.component.ts:31–35  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

29 }
30
31 async clickByKey(key: string): Promise<void> {
32 const row = this.containerRow(key);
33 await row.scrollIntoViewIfNeeded();
34 await row.click();
35 }
36
37 /** Focuses the row (Playwright's `press` does) and sends `shortcut`. */
38 async pressOnRow(key: string, shortcut: string): Promise<void> {

Callers 1

clickNodeMethod · 0.80

Calls 1

containerRowMethod · 0.95

Tested by

no test coverage detected