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

Method waitFor

src/types/scriptcat.zh-CN.d.ts:1266–1266  ·  view source on GitHub ↗

等待匹配 CSS 选择器的元素出现。

(selector: string, options?: WaitForOptions)

Source from the content-addressed store, hash-verified

1264
1265 /** 等待匹配 CSS 选择器的元素出现。 */
1266 waitFor(selector: string, options?: WaitForOptions): Promise<WaitForResult>;
1267
1268 /** 在页面上下文中执行 JavaScript 代码。 */
1269 executeScript(code: string, options?: ExecuteScriptOptions): Promise<unknown>;

Callers 9

dom.test.tsFile · 0.65
autoApprovePermissionsFunction · 0.65
autoApprovePermissionsFunction · 0.65
focusMonacoEditorFunction · 0.65
waitForSavedScriptInListFunction · 0.65
saveCurrentEditorFunction · 0.65
backup-zip.spec.tsFile · 0.65

Implementers 1

AgentDomServicesrc/app/service/agent/service_worker/d

Calls

no outgoing calls

Tested by 1

autoApprovePermissionsFunction · 0.52