MCPcopy Create free account
hub / github.com/webdriverio/webdriverio / scriptGetRealms

Method scriptGetRealms

packages/webdriver/src/bidi/handler.ts:852–859  ·  view source on GitHub ↗

* WebDriver Bidi command to send command method "script.getRealms" with parameters. * @url https://w3c.github.io/webdriver-bidi/#command-script-getRealms * @param params `remote.ScriptGetRealmsParameters` {@link https://w3c.github.io/webdriver-bidi/#command-script-getRealms | command param

(params: remote.ScriptGetRealmsParameters)

Source from the content-addressed store, hash-verified

850 * @returns `Promise<local.ScriptGetRealmsResult>`
851 **/
852 async scriptGetRealms(params: remote.ScriptGetRealmsParameters): Promise<local.ScriptGetRealmsResult> {
853 const result = await this.send({
854 method: 'script.getRealms',
855 params
856 })
857
858 return result.result as local.ScriptGetRealmsResult
859 }
860
861 /**
862 * WebDriver Bidi command to send command method "script.removePreloadScript" with parameters.

Callers

nothing calls this directly

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected