MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / timeout

Method timeout

test/e2e/shared/page-wrapper.ts:82–84  ·  view source on GitHub ↗
(duration: number)

Source from the content-addressed store, hash-verified

80 }
81
82 timeout(duration: number) {
83 return new Promise<void>(resolve => setTimeout(resolve, duration));
84 }
85
86 async screenshot(): Promise<string> {
87 await this.bringToFront();

Calls

no outgoing calls

Tested by 1