MCPcopy Index your code
hub / github.com/microsoft/vscode / waitAndClick

Method waitAndClick

test/automation/src/code.ts:278–280  ·  view source on GitHub ↗
(selector: string, xoffset?: number, yoffset?: number, retryCount: number = 200)

Source from the content-addressed store, hash-verified

276 }
277
278 async waitAndClick(selector: string, xoffset?: number, yoffset?: number, retryCount: number = 200): Promise<void> {
279 await this.poll(() => this.driver.click(selector, xoffset, yoffset), () => true, `click '${selector}'`, retryCount);
280 }
281
282 /**
283 * Clicks an element using Playwright's actionability-checked `page.click` (which

Callers 15

clickPlusButtonMethod · 0.80
clickSplitButtonMethod · 0.80
clickSingleTabMethod · 0.80
openExtensionMethod · 0.80
closeExtensionMethod · 0.80
installExtensionMethod · 0.80
updateKeybindingMethod · 0.80
clickOnMethod · 0.80
foldAtLineMethod · 0.80
unfoldAtLineMethod · 0.80
clickOnTermMethod · 0.80
waitForEditorFocusMethod · 0.80

Calls 2

pollMethod · 0.95
clickMethod · 0.65

Tested by 1

setupFunction · 0.64