* 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)
| 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. |