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

Method fill

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

向匹配 CSS 选择器的输入框/文本域填入指定值。

(selector: string, value: string, options?: DomActionOptions)

Source from the content-addressed store, hash-verified

1258
1259 /** 向匹配 CSS 选择器的输入框/文本域填入指定值。 */
1260 fill(selector: string, value: string, options?: DomActionOptions): Promise<ActionResult>;
1261
1262 /** 滚动页面或元素。 */
1263 scroll(direction: ScrollDirection, options?: ScrollOptions): Promise<ScrollResult>;

Callers 4

encoding.test.tsFile · 0.65
dom.test.tsFile · 0.65

Implementers 1

AgentDomServicesrc/app/service/agent/service_worker/d

Calls

no outgoing calls

Tested by

no test coverage detected