# WebDriver Bidi Protocol

These protocol commands are generated based on the current living [WebDriver Bidi](https://w3c.github.io/webdriver-bidi/) specification. To enable the protocol for your test make sure to have `webSocketUrl: true` set in your capabilities.

Use with Caution!

Browser support is not guaranteed and interfaces can change in the future. The standard is currently under development and browser vendors will add these capabilities based on their own timelines.

Last Updated: Tue Sep 22 2026 03:35:53 GMT+0000 (Coordinated Universal Time)

***

## send[​](#send "Direct link to send")

Send socket commands via WebDriver Bidi<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://github.com/w3c/webdriver-bidi).

### Usage[​](#usage "Direct link to Usage")

```
await browser.send(params)
```

### Parameters[​](#parameters "Direct link to Parameters")

| Name     | Type          | Details        |
| -------- | ------------- | -------------- |
| `params` | `CommandData` | socket payload |

### Returns[​](#returns "Direct link to Returns")

* **\<Object>** **`CommandResponse`:** WebDriver Bidi response

***

## sendAsync[​](#sendasync "Direct link to sendAsync")

Send asynchronous socket commands via WebDriver Bidi<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://github.com/w3c/webdriver-bidi).

### Usage[​](#usage-1 "Direct link to Usage")

```
await browser.sendAsync(params)
```

### Parameters[​](#parameters-1 "Direct link to Parameters")

| Name     | Type          | Details        |
| -------- | ------------- | -------------- |
| `params` | `CommandData` | socket payload |

### Returns[​](#returns-1 "Direct link to Returns")

* **\<Number>** **`id`:** id of WebDriver Bidi request

***

## sessionStatus[​](#sessionstatus "Direct link to sessionStatus")

WebDriver Bidi command to send command method "session.status" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-session-status).

### Usage[​](#usage-2 "Direct link to Usage")

```
await browser.sessionStatus(params)
```

### Parameters[​](#parameters-2 "Direct link to Parameters")

| Name     | Type                 | Details  |
| -------- | -------------------- | -------- |
| `params` | `remote.EmptyParams` | ```
{}
``` |

### Returns[​](#returns-2 "Direct link to Returns")

* **\<Object>** **`local.SessionStatusResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    ready: boolean;
    message: string;
  }
  ```

***

## sessionNew[​](#sessionnew "Direct link to sessionNew")

WebDriver Bidi command to send command method "session.new" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-session-new).

### Usage[​](#usage-3 "Direct link to Usage")

```
await browser.sessionNew(params)
```

### Parameters[​](#parameters-3 "Direct link to Parameters")

| Name     | Type                          | Details                                             |
| -------- | ----------------------------- | --------------------------------------------------- |
| `params` | `remote.SessionNewParameters` | ```
{
  capabilities: SessionCapabilitiesRequest;
}
``` |

### Returns[​](#returns-3 "Direct link to Returns")

* **\<Object>** **`local.SessionNewResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    sessionId: string;
    capabilities: {
      acceptInsecureCerts: boolean;
      browserName: string;
      browserVersion: string;
      platformName: string;
      setWindowRect: boolean;
      userAgent: string;
      proxy?: SessionProxyConfiguration;
      unhandledPromptBehavior?: SessionUserPromptHandler;
      webSocketUrl?: string;
    };
  }
  ```

***

## sessionEnd[​](#sessionend "Direct link to sessionEnd")

WebDriver Bidi command to send command method "session.end" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-session-end).

### Usage[​](#usage-4 "Direct link to Usage")

```
await browser.sessionEnd(params)
```

### Parameters[​](#parameters-4 "Direct link to Parameters")

| Name     | Type                 | Details  |
| -------- | -------------------- | -------- |
| `params` | `remote.EmptyParams` | ```
{}
``` |

### Returns[​](#returns-4 "Direct link to Returns")

* **\<Object>** **`local.SessionEndResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## sessionSubscribe[​](#sessionsubscribe "Direct link to sessionSubscribe")

WebDriver Bidi command to send command method "session.subscribe" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-session-subscribe).

### Usage[​](#usage-5 "Direct link to Usage")

```
await browser.sessionSubscribe(params)
```

### Parameters[​](#parameters-5 "Direct link to Parameters")

| Name     | Type                                | Details                                                                                                         |
| -------- | ----------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.SessionSubscribeParameters` | ```
{
  events: string[];
  contexts?: BrowsingContextBrowsingContext[];
  userContexts?: BrowserUserContext[];
}
``` |

### Returns[​](#returns-5 "Direct link to Returns")

* **\<Object>** **`local.SessionSubscribeResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    subscription: SessionSubscription;
  }
  ```

***

## sessionUnsubscribe[​](#sessionunsubscribe "Direct link to sessionUnsubscribe")

WebDriver Bidi command to send command method "session.unsubscribe" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-session-unsubscribe).

### Usage[​](#usage-6 "Direct link to Usage")

```
await browser.sessionUnsubscribe(params)
```

### Parameters[​](#parameters-6 "Direct link to Parameters")

| Name     | Type                                  | Details  |
| -------- | ------------------------------------- | -------- |
| `params` | `remote.SessionUnsubscribeParameters` | ```
{}
``` |

### Returns[​](#returns-6 "Direct link to Returns")

* **\<Object>** **`local.SessionUnsubscribeResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## browserClose[​](#browserclose "Direct link to browserClose")

WebDriver Bidi command to send command method "browser.close" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browser-close).

### Usage[​](#usage-7 "Direct link to Usage")

```
await browser.browserClose(params)
```

### Parameters[​](#parameters-7 "Direct link to Parameters")

| Name     | Type                 | Details  |
| -------- | -------------------- | -------- |
| `params` | `remote.EmptyParams` | ```
{}
``` |

### Returns[​](#returns-7 "Direct link to Returns")

* **\<Object>** **`local.BrowserCloseResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## browserCreateUserContext[​](#browsercreateusercontext "Direct link to browserCreateUserContext")

WebDriver Bidi command to send command method "browser.createUserContext" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browser-createUserContext).

### Usage[​](#usage-8 "Direct link to Usage")

```
await browser.browserCreateUserContext(params)
```

### Parameters[​](#parameters-8 "Direct link to Parameters")

| Name     | Type                                        | Details                                                                                                                           |
| -------- | ------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.BrowserCreateUserContextParameters` | ```
{
  acceptInsecureCerts?: boolean;
  proxy?: SessionProxyConfiguration;
  unhandledPromptBehavior?: SessionUserPromptHandler;
}
``` |

### Returns[​](#returns-8 "Direct link to Returns")

* **\<Object>** **`local.BrowserCreateUserContextResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## browserGetClientWindows[​](#browsergetclientwindows "Direct link to browserGetClientWindows")

WebDriver Bidi command to send command method "browser.getClientWindows" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browser-getClientWindows).

### Usage[​](#usage-9 "Direct link to Usage")

```
await browser.browserGetClientWindows(params)
```

### Parameters[​](#parameters-9 "Direct link to Parameters")

| Name     | Type                 | Details  |
| -------- | -------------------- | -------- |
| `params` | `remote.EmptyParams` | ```
{}
``` |

### Returns[​](#returns-9 "Direct link to Returns")

* **\<Object>** **`local.BrowserGetClientWindowsResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    clientWindows: BrowserClientWindowInfo[];
  }
  ```

***

## browserGetUserContexts[​](#browsergetusercontexts "Direct link to browserGetUserContexts")

WebDriver Bidi command to send command method "browser.getUserContexts" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browser-getUserContexts).

### Usage[​](#usage-10 "Direct link to Usage")

```
await browser.browserGetUserContexts(params)
```

### Parameters[​](#parameters-10 "Direct link to Parameters")

| Name     | Type                 | Details  |
| -------- | -------------------- | -------- |
| `params` | `remote.EmptyParams` | ```
{}
``` |

### Returns[​](#returns-10 "Direct link to Returns")

* **\<Object>** **`local.BrowserGetUserContextsResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    userContexts: BrowserUserContextInfo[];
  }
  ```

***

## browserRemoveUserContext[​](#browserremoveusercontext "Direct link to browserRemoveUserContext")

WebDriver Bidi command to send command method "browser.removeUserContext" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browser-removeUserContext).

### Usage[​](#usage-11 "Direct link to Usage")

```
await browser.browserRemoveUserContext(params)
```

### Parameters[​](#parameters-11 "Direct link to Parameters")

| Name     | Type                                        | Details                                    |
| -------- | ------------------------------------------- | ------------------------------------------ |
| `params` | `remote.BrowserRemoveUserContextParameters` | ```
{
  userContext: BrowserUserContext;
}
``` |

### Returns[​](#returns-11 "Direct link to Returns")

* **\<Object>** **`local.BrowserRemoveUserContextResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## browserSetClientWindowState[​](#browsersetclientwindowstate "Direct link to browserSetClientWindowState")

WebDriver Bidi command to send command method "browser.setClientWindowState" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browser-setClientWindowState).

### Usage[​](#usage-12 "Direct link to Usage")

```
await browser.browserSetClientWindowState(params)
```

### Parameters[​](#parameters-12 "Direct link to Parameters")

| Name     | Type                                           | Details                                       |
| -------- | ---------------------------------------------- | --------------------------------------------- |
| `params` | `remote.BrowserSetClientWindowStateParameters` | ```
{
  clientWindow: BrowserClientWindow;
};
``` |

### Returns[​](#returns-12 "Direct link to Returns")

* **\<Object>** **`local.BrowserSetClientWindowStateResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## browserSetDownloadBehavior[​](#browsersetdownloadbehavior "Direct link to browserSetDownloadBehavior")

WebDriver Bidi command to send command method "browser.setDownloadBehavior" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browser-setDownloadBehavior).

### Usage[​](#usage-13 "Direct link to Usage")

```
await browser.browserSetDownloadBehavior(params)
```

### Parameters[​](#parameters-13 "Direct link to Parameters")

| Name     | Type                                          | Details                                                                                           |
| -------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| `params` | `remote.BrowserSetDownloadBehaviorParameters` | ```
{
  downloadBehavior: BrowserDownloadBehavior | null;
  userContexts?: BrowserUserContext[];
}
``` |

### Returns[​](#returns-13 "Direct link to Returns")

* **\<Object>** **`local.BrowserSetDownloadBehaviorResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## browsingContextActivate[​](#browsingcontextactivate "Direct link to browsingContextActivate")

WebDriver Bidi command to send command method "browsingContext.activate" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browsingContext-activate).

### Usage[​](#usage-14 "Direct link to Usage")

```
await browser.browsingContextActivate(params)
```

### Parameters[​](#parameters-14 "Direct link to Parameters")

| Name     | Type                                       | Details                                            |
| -------- | ------------------------------------------ | -------------------------------------------------- |
| `params` | `remote.BrowsingContextActivateParameters` | ```
{
  context: BrowsingContextBrowsingContext;
}
``` |

### Returns[​](#returns-14 "Direct link to Returns")

* **\<Object>** **`local.BrowsingContextActivateResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## browsingContextCaptureScreenshot[​](#browsingcontextcapturescreenshot "Direct link to browsingContextCaptureScreenshot")

WebDriver Bidi command to send command method "browsingContext.captureScreenshot" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browsingContext-captureScreenshot).

### Usage[​](#usage-15 "Direct link to Usage")

```
await browser.browsingContextCaptureScreenshot(params)
```

### Parameters[​](#parameters-15 "Direct link to Parameters")

| Name     | Type                                                | Details                                                                                                                                                                                                                                    |
| -------- | --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `params` | `remote.BrowsingContextCaptureScreenshotParameters` | ```
{
  context: BrowsingContextBrowsingContext;
  /**
   * @default 'viewport'
   */
  origin?: "viewport" | "document";
  format?: BrowsingContextImageFormat;
  clip?: BrowsingContextClipRectangle;
  imageSize?: BrowsingContextImageSize;
}
``` |

### Returns[​](#returns-15 "Direct link to Returns")

* **\<Object>** **`local.BrowsingContextCaptureScreenshotResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    data: string;
  }
  ```

***

## browsingContextClose[​](#browsingcontextclose "Direct link to browsingContextClose")

WebDriver Bidi command to send command method "browsingContext.close" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browsingContext-close).

### Usage[​](#usage-16 "Direct link to Usage")

```
await browser.browsingContextClose(params)
```

### Parameters[​](#parameters-16 "Direct link to Parameters")

| Name     | Type                                    | Details                                                                     |
| -------- | --------------------------------------- | --------------------------------------------------------------------------- |
| `params` | `remote.BrowsingContextCloseParameters` | ```
{
  context: BrowsingContextBrowsingContext;
  promptUnload?: boolean;
}
``` |

### Returns[​](#returns-16 "Direct link to Returns")

* **\<Object>** **`local.BrowsingContextCloseResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## browsingContextCreate[​](#browsingcontextcreate "Direct link to browsingContextCreate")

WebDriver Bidi command to send command method "browsingContext.create" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browsingContext-create).

### Usage[​](#usage-17 "Direct link to Usage")

```
await browser.browsingContextCreate(params)
```

### Parameters[​](#parameters-17 "Direct link to Parameters")

| Name     | Type                                     | Details                                                                                                                                                  |
| -------- | ---------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.BrowsingContextCreateParameters` | ```
{
  type: BrowsingContextCreateType;
  referenceContext?: BrowsingContextBrowsingContext;
  background?: boolean;
  userContext?: BrowserUserContext;
}
``` |

### Returns[​](#returns-17 "Direct link to Returns")

* **\<Object>** **`local.BrowsingContextCreateResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    context: BrowsingContextBrowsingContext;
    userContext?: BrowserUserContext;
  }
  ```

***

## browsingContextGetTree[​](#browsingcontextgettree "Direct link to browsingContextGetTree")

WebDriver Bidi command to send command method "browsingContext.getTree" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browsingContext-getTree).

### Usage[​](#usage-18 "Direct link to Usage")

```
await browser.browsingContextGetTree(params)
```

### Parameters[​](#parameters-18 "Direct link to Parameters")

| Name     | Type                                      | Details                                                              |
| -------- | ----------------------------------------- | -------------------------------------------------------------------- |
| `params` | `remote.BrowsingContextGetTreeParameters` | ```
{
  maxDepth?: JsUint;
  root?: BrowsingContextBrowsingContext;
}
``` |

### Returns[​](#returns-18 "Direct link to Returns")

* **\<Object>** **`local.BrowsingContextGetTreeResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    contexts: BrowsingContextInfoList;
  }
  ```

***

## browsingContextHandleUserPrompt[​](#browsingcontexthandleuserprompt "Direct link to browsingContextHandleUserPrompt")

WebDriver Bidi command to send command method "browsingContext.handleUserPrompt" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browsingContext-handleUserPrompt).

### Usage[​](#usage-19 "Direct link to Usage")

```
await browser.browsingContextHandleUserPrompt(params)
```

### Parameters[​](#parameters-19 "Direct link to Parameters")

| Name     | Type                                               | Details                                                                                   |
| -------- | -------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| `params` | `remote.BrowsingContextHandleUserPromptParameters` | ```
{
  context: BrowsingContextBrowsingContext;
  accept?: boolean;
  userText?: string;
}
``` |

### Returns[​](#returns-19 "Direct link to Returns")

* **\<Object>** **`local.BrowsingContextHandleUserPromptResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## browsingContextLocateNodes[​](#browsingcontextlocatenodes "Direct link to browsingContextLocateNodes")

WebDriver Bidi command to send command method "browsingContext.locateNodes" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browsingContext-locateNodes).

### Usage[​](#usage-20 "Direct link to Usage")

```
await browser.browsingContextLocateNodes(params)
```

### Parameters[​](#parameters-20 "Direct link to Parameters")

| Name     | Type                                          | Details                                                                                                                                                                                                 |
| -------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.BrowsingContextLocateNodesParameters` | ```
{
  context: BrowsingContextBrowsingContext;
  locator: BrowsingContextLocator;
  maxNodeCount?: JsUint;
  serializationOptions?: ScriptSerializationOptions;
  startNodes?: ScriptSharedReference[];
}
``` |

### Returns[​](#returns-20 "Direct link to Returns")

* **\<Object>** **`local.BrowsingContextLocateNodesResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    nodes: ScriptNodeRemoteValue[];
  }
  ```

***

## browsingContextNavigate[​](#browsingcontextnavigate "Direct link to browsingContextNavigate")

WebDriver Bidi command to send command method "browsingContext.navigate" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browsingContext-navigate).

### Usage[​](#usage-21 "Direct link to Usage")

```
await browser.browsingContextNavigate(params)
```

### Parameters[​](#parameters-21 "Direct link to Parameters")

| Name     | Type                                       | Details                                                                                                 |
| -------- | ------------------------------------------ | ------------------------------------------------------------------------------------------------------- |
| `params` | `remote.BrowsingContextNavigateParameters` | ```
{
  context: BrowsingContextBrowsingContext;
  url: string;
  wait?: BrowsingContextReadinessState;
}
``` |

### Returns[​](#returns-21 "Direct link to Returns")

* **\<Object>** **`local.BrowsingContextNavigateResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    navigation: BrowsingContextNavigation | null;
    url: string;
  }
  ```

***

## browsingContextPrint[​](#browsingcontextprint "Direct link to browsingContextPrint")

WebDriver Bidi command to send command method "browsingContext.print" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browsingContext-print).

### Usage[​](#usage-22 "Direct link to Usage")

```
await browser.browsingContextPrint(params)
```

### Parameters[​](#parameters-22 "Direct link to Parameters")

| Name     | Type                                    | Details                                                                                                                                                                                                                                                                                                                                                                           |
| -------- | --------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.BrowsingContextPrintParameters` | ```
{
  context: BrowsingContextBrowsingContext;
  background?: boolean;
  margin?: BrowsingContextPrintMarginParameters;
  /**
   * @default 'portrait'
   */
  orientation?: "portrait" | "landscape";
  page?: BrowsingContextPrintPageParameters;
  pageRanges?: (JsUint | string)[];
  /**
   * @default 1
   */
  scale?: number;
  /**
   * @default true
   */
  shrinkToFit?: boolean;
}
``` |

### Returns[​](#returns-22 "Direct link to Returns")

* **\<Object>** **`local.BrowsingContextPrintResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    data: string;
  }
  ```

***

## browsingContextReload[​](#browsingcontextreload "Direct link to browsingContextReload")

WebDriver Bidi command to send command method "browsingContext.reload" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browsingContext-reload).

### Usage[​](#usage-23 "Direct link to Usage")

```
await browser.browsingContextReload(params)
```

### Parameters[​](#parameters-23 "Direct link to Parameters")

| Name     | Type                                     | Details                                                                                                           |
| -------- | ---------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.BrowsingContextReloadParameters` | ```
{
  context: BrowsingContextBrowsingContext;
  ignoreCache?: boolean;
  wait?: BrowsingContextReadinessState;
}
``` |

### Returns[​](#returns-23 "Direct link to Returns")

* **\<Object>** **`local.BrowsingContextReloadResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## browsingContextSetBypassCsp[​](#browsingcontextsetbypasscsp "Direct link to browsingContextSetBypassCsp")

WebDriver Bidi command to send command method "browsingContext.setBypassCSP" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browsingContext-setBypassCSP).

### Usage[​](#usage-24 "Direct link to Usage")

```
await browser.browsingContextSetBypassCsp(params)
```

### Parameters[​](#parameters-24 "Direct link to Parameters")

| Name     | Type                                           | Details                                                                                                            |
| -------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| `params` | `remote.BrowsingContextSetBypassCspParameters` | ```
{
  bypass: true | null;
  contexts?: BrowsingContextBrowsingContext[];
  userContexts?: BrowserUserContext[];
}
``` |

### Returns[​](#returns-24 "Direct link to Returns")

* **\<Object>** **`local.BrowsingContextSetBypassCspResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## browsingContextSetViewport[​](#browsingcontextsetviewport "Direct link to browsingContextSetViewport")

WebDriver Bidi command to send command method "browsingContext.setViewport" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browsingContext-setViewport).

### Usage[​](#usage-25 "Direct link to Usage")

```
await browser.browsingContextSetViewport(params)
```

### Parameters[​](#parameters-25 "Direct link to Parameters")

| Name     | Type                                          | Details                                                                                                                                                                  |
| -------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `params` | `remote.BrowsingContextSetViewportParameters` | ```
{
  context?: BrowsingContextBrowsingContext;
  viewport?: BrowsingContextViewport | null;
  devicePixelRatio?: number | null;
  userContexts?: BrowserUserContext[];
}
``` |

### Returns[​](#returns-25 "Direct link to Returns")

* **\<Object>** **`local.BrowsingContextSetViewportResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## browsingContextStartScreencast[​](#browsingcontextstartscreencast "Direct link to browsingContextStartScreencast")

WebDriver Bidi command to send command method "browsingContext.startScreencast" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browsingContext-startScreencast).

### Usage[​](#usage-26 "Direct link to Usage")

```
await browser.browsingContextStartScreencast(params)
```

### Parameters[​](#parameters-26 "Direct link to Parameters")

| Name     | Type                                              | Details                                                                                                                                                              |
| -------- | ------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.BrowsingContextStartScreencastParameters` | ```
{
  context: BrowsingContextBrowsingContext;
  destinationFolder?: string;
  mimeType?: string;
  video?: BrowsingContextMediaTrackConstraints;
  audio?: boolean;
}
``` |

### Returns[​](#returns-26 "Direct link to Returns")

* **\<Object>** **`local.BrowsingContextStartScreencastResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    screencast: BrowsingContextScreencast;
    path: string;
  }
  ```

***

## browsingContextStopScreencast[​](#browsingcontextstopscreencast "Direct link to browsingContextStopScreencast")

WebDriver Bidi command to send command method "browsingContext.stopScreencast" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browsingContext-stopScreencast).

### Usage[​](#usage-27 "Direct link to Usage")

```
await browser.browsingContextStopScreencast(params)
```

### Parameters[​](#parameters-27 "Direct link to Parameters")

| Name     | Type                                             | Details                                          |
| -------- | ------------------------------------------------ | ------------------------------------------------ |
| `params` | `remote.BrowsingContextStopScreencastParameters` | ```
{
  screencast: BrowsingContextScreencast;
}
``` |

### Returns[​](#returns-27 "Direct link to Returns")

* **\<Object>** **`local.BrowsingContextStopScreencastResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    path: string;
    error?: string;
  }
  ```

***

## browsingContextTraverseHistory[​](#browsingcontexttraversehistory "Direct link to browsingContextTraverseHistory")

WebDriver Bidi command to send command method "browsingContext.traverseHistory" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-browsingContext-traverseHistory).

### Usage[​](#usage-28 "Direct link to Usage")

```
await browser.browsingContextTraverseHistory(params)
```

### Parameters[​](#parameters-28 "Direct link to Parameters")

| Name     | Type                                              | Details                                                           |
| -------- | ------------------------------------------------- | ----------------------------------------------------------------- |
| `params` | `remote.BrowsingContextTraverseHistoryParameters` | ```
{
  context: BrowsingContextBrowsingContext;
  delta: JsInt;
}
``` |

### Returns[​](#returns-28 "Direct link to Returns")

* **\<Object>** **`local.BrowsingContextTraverseHistoryResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## emulationSetForcedColorsModeThemeOverride[​](#emulationsetforcedcolorsmodethemeoverride "Direct link to emulationSetForcedColorsModeThemeOverride")

WebDriver Bidi command to send command method "emulation.setForcedColorsModeThemeOverride" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-emulation-setForcedColorsModeThemeOverride).

### Usage[​](#usage-29 "Direct link to Usage")

```
await browser.emulationSetForcedColorsModeThemeOverride(params)
```

### Parameters[​](#parameters-29 "Direct link to Parameters")

| Name     | Type                                                         | Details                                                                                                                                     |
| -------- | ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.EmulationSetForcedColorsModeThemeOverrideParameters` | ```
{
  theme: EmulationForcedColorsModeTheme | null;
  contexts?: BrowsingContextBrowsingContext[];
  userContexts?: BrowserUserContext[];
}
``` |

### Returns[​](#returns-29 "Direct link to Returns")

* **\<Object>** **`local.EmulationSetForcedColorsModeThemeOverrideResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## emulationSetGeolocationOverride[​](#emulationsetgeolocationoverride "Direct link to emulationSetGeolocationOverride")

WebDriver Bidi command to send command method "emulation.setGeolocationOverride" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-emulation-setGeolocationOverride).

### Usage[​](#usage-30 "Direct link to Usage")

```
await browser.emulationSetGeolocationOverride(params)
```

### Parameters[​](#parameters-30 "Direct link to Parameters")

| Name     | Type                                               | Details                                                                                                                                                                                                   |
| -------- | -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.EmulationSetGeolocationOverrideParameters` | ```
{
  coordinates: EmulationGeolocationCoordinates | null;
} | {
  error: EmulationGeolocationPositionError;
}) & {
  contexts?: BrowsingContextBrowsingContext[];
  userContexts?: BrowserUserContext[];
};
``` |

### Returns[​](#returns-30 "Direct link to Returns")

* **\<Object>** **`local.EmulationSetGeolocationOverrideResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## emulationSetLocaleOverride[​](#emulationsetlocaleoverride "Direct link to emulationSetLocaleOverride")

WebDriver Bidi command to send command method "emulation.setLocaleOverride" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-emulation-setLocaleOverride).

### Usage[​](#usage-31 "Direct link to Usage")

```
await browser.emulationSetLocaleOverride(params)
```

### Parameters[​](#parameters-31 "Direct link to Parameters")

| Name     | Type                                          | Details                                                                                                              |
| -------- | --------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.EmulationSetLocaleOverrideParameters` | ```
{
  locale: string | null;
  contexts?: BrowsingContextBrowsingContext[];
  userContexts?: BrowserUserContext[];
}
``` |

### Returns[​](#returns-31 "Direct link to Returns")

* **\<Object>** **`local.EmulationSetLocaleOverrideResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## emulationSetMediaFeaturesOverride[​](#emulationsetmediafeaturesoverride "Direct link to emulationSetMediaFeaturesOverride")

WebDriver Bidi command to send command method "emulation.setMediaFeaturesOverride" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-emulation-setMediaFeaturesOverride).

### Usage[​](#usage-32 "Direct link to Usage")

```
await browser.emulationSetMediaFeaturesOverride(params)
```

### Parameters[​](#parameters-32 "Direct link to Parameters")

| Name     | Type                                                 | Details                                                                                                                                |
| -------- | ---------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.EmulationSetMediaFeaturesOverrideParameters` | ```
{
  features: EmulationMediaFeatures | null;
  contexts?: BrowsingContextBrowsingContext[];
  userContexts?: BrowserUserContext[];
}
``` |

### Returns[​](#returns-32 "Direct link to Returns")

* **\<Object>** **`local.EmulationSetMediaFeaturesOverrideResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## emulationSetNetworkConditions[​](#emulationsetnetworkconditions "Direct link to emulationSetNetworkConditions")

WebDriver Bidi command to send command method "emulation.setNetworkConditions" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-emulation-setNetworkConditions).

### Usage[​](#usage-33 "Direct link to Usage")

```
await browser.emulationSetNetworkConditions(params)
```

### Parameters[​](#parameters-33 "Direct link to Parameters")

| Name     | Type                                             | Details                                                                                                                                             |
| -------- | ------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.EmulationSetNetworkConditionsParameters` | ```
{
  networkConditions: EmulationNetworkConditions | null;
  contexts?: BrowsingContextBrowsingContext[];
  userContexts?: BrowserUserContext[];
}
``` |

### Returns[​](#returns-33 "Direct link to Returns")

* **\<Object>** **`local.EmulationSetNetworkConditionsResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## emulationSetScreenSettingsOverride[​](#emulationsetscreensettingsoverride "Direct link to emulationSetScreenSettingsOverride")

WebDriver Bidi command to send command method "emulation.setScreenSettingsOverride" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-emulation-setScreenSettingsOverride).

### Usage[​](#usage-34 "Direct link to Usage")

```
await browser.emulationSetScreenSettingsOverride(params)
```

### Parameters[​](#parameters-34 "Direct link to Parameters")

| Name     | Type                                                  | Details                                                                                                                               |
| -------- | ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.EmulationSetScreenSettingsOverrideParameters` | ```
{
  screenArea: EmulationScreenArea | null;
  contexts?: BrowsingContextBrowsingContext[];
  userContexts?: BrowserUserContext[];
}
``` |

### Returns[​](#returns-34 "Direct link to Returns")

* **\<Object>** **`local.EmulationSetScreenSettingsOverrideResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## emulationSetScreenOrientationOverride[​](#emulationsetscreenorientationoverride "Direct link to emulationSetScreenOrientationOverride")

WebDriver Bidi command to send command method "emulation.setScreenOrientationOverride" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-emulation-setScreenOrientationOverride).

### Usage[​](#usage-35 "Direct link to Usage")

```
await browser.emulationSetScreenOrientationOverride(params)
```

### Parameters[​](#parameters-35 "Direct link to Parameters")

| Name     | Type                                                     | Details                                                                                                                                             |
| -------- | -------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.EmulationSetScreenOrientationOverrideParameters` | ```
{
  screenOrientation: EmulationScreenOrientation | null;
  contexts?: BrowsingContextBrowsingContext[];
  userContexts?: BrowserUserContext[];
}
``` |

### Returns[​](#returns-35 "Direct link to Returns")

* **\<Object>** **`local.EmulationSetScreenOrientationOverrideResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## emulationSetUserAgentOverride[​](#emulationsetuseragentoverride "Direct link to emulationSetUserAgentOverride")

WebDriver Bidi command to send command method "emulation.setUserAgentOverride" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-emulation-setUserAgentOverride).

### Usage[​](#usage-36 "Direct link to Usage")

```
await browser.emulationSetUserAgentOverride(params)
```

### Parameters[​](#parameters-36 "Direct link to Parameters")

| Name     | Type                                             | Details                                                                                                                 |
| -------- | ------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.EmulationSetUserAgentOverrideParameters` | ```
{
  userAgent: string | null;
  contexts?: BrowsingContextBrowsingContext[];
  userContexts?: BrowserUserContext[];
}
``` |

### Returns[​](#returns-36 "Direct link to Returns")

* **\<Object>** **`local.EmulationSetUserAgentOverrideResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## emulationSetViewportMetaOverride[​](#emulationsetviewportmetaoverride "Direct link to emulationSetViewportMetaOverride")

WebDriver Bidi command to send command method "emulation.setViewportMetaOverride" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-emulation-setViewportMetaOverride).

### Usage[​](#usage-37 "Direct link to Usage")

```
await browser.emulationSetViewportMetaOverride(params)
```

### Parameters[​](#parameters-37 "Direct link to Parameters")

| Name     | Type                                                | Details                                                                                                                  |
| -------- | --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| `params` | `remote.EmulationSetViewportMetaOverrideParameters` | ```
{
  viewportMeta: true | null;
  contexts?: BrowsingContextBrowsingContext[];
  userContexts?: BrowserUserContext[];
}
``` |

### Returns[​](#returns-37 "Direct link to Returns")

* **\<Object>** **`local.EmulationSetViewportMetaOverrideResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## emulationSetScriptingEnabled[​](#emulationsetscriptingenabled "Direct link to emulationSetScriptingEnabled")

WebDriver Bidi command to send command method "emulation.setScriptingEnabled" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-emulation-setScriptingEnabled).

### Usage[​](#usage-38 "Direct link to Usage")

```
await browser.emulationSetScriptingEnabled(params)
```

### Parameters[​](#parameters-38 "Direct link to Parameters")

| Name     | Type                                            | Details                                                                                                              |
| -------- | ----------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.EmulationSetScriptingEnabledParameters` | ```
{
  enabled: false | null;
  contexts?: BrowsingContextBrowsingContext[];
  userContexts?: BrowserUserContext[];
}
``` |

### Returns[​](#returns-38 "Direct link to Returns")

* **\<Object>** **`local.EmulationSetScriptingEnabledResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## emulationSetScrollbarTypeOverride[​](#emulationsetscrollbartypeoverride "Direct link to emulationSetScrollbarTypeOverride")

WebDriver Bidi command to send command method "emulation.setScrollbarTypeOverride" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-emulation-setScrollbarTypeOverride).

### Usage[​](#usage-39 "Direct link to Usage")

```
await browser.emulationSetScrollbarTypeOverride(params)
```

### Parameters[​](#parameters-39 "Direct link to Parameters")

| Name     | Type                                                 | Details                                                                                                                                    |
| -------- | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `params` | `remote.EmulationSetScrollbarTypeOverrideParameters` | ```
{
  scrollbarType: "classic" | "overlay" | null;
  contexts?: BrowsingContextBrowsingContext[];
  userContexts?: BrowserUserContext[];
}
``` |

### Returns[​](#returns-39 "Direct link to Returns")

* **\<Object>** **`local.EmulationSetScrollbarTypeOverrideResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## emulationSetTextLayoutModeOverride[​](#emulationsettextlayoutmodeoverride "Direct link to emulationSetTextLayoutModeOverride")

WebDriver Bidi command to send command method "emulation.setTextLayoutModeOverride" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-emulation-setTextLayoutModeOverride).

### Usage[​](#usage-40 "Direct link to Usage")

```
await browser.emulationSetTextLayoutModeOverride(params)
```

### Parameters[​](#parameters-40 "Direct link to Parameters")

| Name     | Type                                                  | Details                                                                                                                                       |
| -------- | ----------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.EmulationSetTextLayoutModeOverrideParameters` | ```
{
  textLayoutMode: EmulationTextLayoutMode | null;
  contexts?: BrowsingContextBrowsingContext[];
  userContexts?: BrowserUserContext[];
}
``` |

### Returns[​](#returns-40 "Direct link to Returns")

* **\<Object>** **`local.EmulationSetTextLayoutModeOverrideResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## emulationSetTimezoneOverride[​](#emulationsettimezoneoverride "Direct link to emulationSetTimezoneOverride")

WebDriver Bidi command to send command method "emulation.setTimezoneOverride" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-emulation-setTimezoneOverride).

### Usage[​](#usage-41 "Direct link to Usage")

```
await browser.emulationSetTimezoneOverride(params)
```

### Parameters[​](#parameters-41 "Direct link to Parameters")

| Name     | Type                                            | Details                                                                                                                |
| -------- | ----------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.EmulationSetTimezoneOverrideParameters` | ```
{
  timezone: string | null;
  contexts?: BrowsingContextBrowsingContext[];
  userContexts?: BrowserUserContext[];
}
``` |

### Returns[​](#returns-41 "Direct link to Returns")

* **\<Object>** **`local.EmulationSetTimezoneOverrideResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## emulationSetTouchOverride[​](#emulationsettouchoverride "Direct link to emulationSetTouchOverride")

WebDriver Bidi command to send command method "emulation.setTouchOverride" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-emulation-setTouchOverride).

### Usage[​](#usage-42 "Direct link to Usage")

```
await browser.emulationSetTouchOverride(params)
```

### Parameters[​](#parameters-42 "Direct link to Parameters")

| Name     | Type                                         | Details                                                                                                                      |
| -------- | -------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.EmulationSetTouchOverrideParameters` | ```
{
  maxTouchPoints: JsUint | null;
  contexts?: BrowsingContextBrowsingContext[];
  userContexts?: BrowserUserContext[];
}
``` |

### Returns[​](#returns-42 "Direct link to Returns")

* **\<Object>** **`local.EmulationSetTouchOverrideResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## networkAddDataCollector[​](#networkadddatacollector "Direct link to networkAddDataCollector")

WebDriver Bidi command to send command method "network.addDataCollector" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-network-addDataCollector).

### Usage[​](#usage-43 "Direct link to Usage")

```
await browser.networkAddDataCollector(params)
```

### Parameters[​](#parameters-43 "Direct link to Parameters")

| Name     | Type                                       | Details                                                                                                                                                                                                                       |
| -------- | ------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.NetworkAddDataCollectorParameters` | ```
{
  dataTypes: NetworkDataType[];
  maxEncodedDataSize: JsUint;
  /**
   * @default 'blob'
   */
  collectorType?: NetworkCollectorType;
  contexts?: BrowsingContextBrowsingContext[];
  userContexts?: BrowserUserContext[];
}
``` |

### Returns[​](#returns-43 "Direct link to Returns")

* **\<Object>** **`local.NetworkAddDataCollectorResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    collector: NetworkCollector;
  }
  ```

***

## networkAddIntercept[​](#networkaddintercept "Direct link to networkAddIntercept")

WebDriver Bidi command to send command method "network.addIntercept" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-network-addIntercept).

### Usage[​](#usage-44 "Direct link to Usage")

```
await browser.networkAddIntercept(params)
```

### Parameters[​](#parameters-44 "Direct link to Parameters")

| Name     | Type                                   | Details                                                                                                                      |
| -------- | -------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.NetworkAddInterceptParameters` | ```
{
  phases: NetworkInterceptPhase[];
  contexts?: BrowsingContextBrowsingContext[];
  urlPatterns?: NetworkUrlPattern[];
}
``` |

### Returns[​](#returns-44 "Direct link to Returns")

* **\<Object>** **`local.NetworkAddInterceptResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    intercept: NetworkIntercept;
  }
  ```

***

## networkContinueRequest[​](#networkcontinuerequest "Direct link to networkContinueRequest")

WebDriver Bidi command to send command method "network.continueRequest" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-network-continueRequest).

### Usage[​](#usage-45 "Direct link to Usage")

```
await browser.networkContinueRequest(params)
```

### Parameters[​](#parameters-45 "Direct link to Parameters")

| Name     | Type                                      | Details                                                                                                                                                      |
| -------- | ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `params` | `remote.NetworkContinueRequestParameters` | ```
{
  request: NetworkRequest;
  body?: NetworkBytesValue;
  cookies?: NetworkCookieHeader[];
  headers?: NetworkHeader[];
  method?: string;
  url?: string;
}
``` |

### Returns[​](#returns-45 "Direct link to Returns")

* **\<Object>** **`local.NetworkContinueRequestResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## networkContinueResponse[​](#networkcontinueresponse "Direct link to networkContinueResponse")

WebDriver Bidi command to send command method "network.continueResponse" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-network-continueResponse).

### Usage[​](#usage-46 "Direct link to Usage")

```
await browser.networkContinueResponse(params)
```

### Parameters[​](#parameters-46 "Direct link to Parameters")

| Name     | Type                                       | Details                                                                                                                                                                                  |
| -------- | ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.NetworkContinueResponseParameters` | ```
{
  request: NetworkRequest;
  cookies?: NetworkSetCookieHeader[];
  credentials?: NetworkAuthCredentials;
  headers?: NetworkHeader[];
  reasonPhrase?: string;
  statusCode?: JsUint;
}
``` |

### Returns[​](#returns-46 "Direct link to Returns")

* **\<Object>** **`local.NetworkContinueResponseResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## networkContinueWithAuth[​](#networkcontinuewithauth "Direct link to networkContinueWithAuth")

WebDriver Bidi command to send command method "network.continueWithAuth" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-network-continueWithAuth).

### Usage[​](#usage-47 "Direct link to Usage")

```
await browser.networkContinueWithAuth(params)
```

### Parameters[​](#parameters-47 "Direct link to Parameters")

| Name     | Type                                       | Details                             |
| -------- | ------------------------------------------ | ----------------------------------- |
| `params` | `remote.NetworkContinueWithAuthParameters` | ```
{
  request: NetworkRequest;
};
``` |

### Returns[​](#returns-47 "Direct link to Returns")

* **\<Object>** **`local.NetworkContinueWithAuthResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## networkDisownData[​](#networkdisowndata "Direct link to networkDisownData")

WebDriver Bidi command to send command method "network.disownData" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-network-disownData).

### Usage[​](#usage-48 "Direct link to Usage")

```
await browser.networkDisownData(params)
```

### Parameters[​](#parameters-48 "Direct link to Parameters")

| Name     | Type                                 | Details                                                                                      |
| -------- | ------------------------------------ | -------------------------------------------------------------------------------------------- |
| `params` | `remote.NetworkDisownDataParameters` | ```
{
  dataType: NetworkDataType;
  collector: NetworkCollector;
  request: NetworkRequest;
}
``` |

### Returns[​](#returns-48 "Direct link to Returns")

* **\<Object>** **`local.NetworkDisownDataResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## networkFailRequest[​](#networkfailrequest "Direct link to networkFailRequest")

WebDriver Bidi command to send command method "network.failRequest" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-network-failRequest).

### Usage[​](#usage-49 "Direct link to Usage")

```
await browser.networkFailRequest(params)
```

### Parameters[​](#parameters-49 "Direct link to Parameters")

| Name     | Type                                  | Details                            |
| -------- | ------------------------------------- | ---------------------------------- |
| `params` | `remote.NetworkFailRequestParameters` | ```
{
  request: NetworkRequest;
}
``` |

### Returns[​](#returns-49 "Direct link to Returns")

* **\<Object>** **`local.NetworkFailRequestResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## networkGetData[​](#networkgetdata "Direct link to networkGetData")

WebDriver Bidi command to send command method "network.getData" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-network-getData).

### Usage[​](#usage-50 "Direct link to Usage")

```
await browser.networkGetData(params)
```

### Parameters[​](#parameters-50 "Direct link to Parameters")

| Name     | Type                              | Details                                                                                                          |
| -------- | --------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.NetworkGetDataParameters` | ```
{
  dataType: NetworkDataType;
  collector?: NetworkCollector;
  disown?: boolean;
  request: NetworkRequest;
}
``` |

### Returns[​](#returns-50 "Direct link to Returns")

* **\<Object>** **`local.NetworkGetDataResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    bytes: NetworkBytesValue;
  }
  ```

***

## networkProvideResponse[​](#networkprovideresponse "Direct link to networkProvideResponse")

WebDriver Bidi command to send command method "network.provideResponse" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-network-provideResponse).

### Usage[​](#usage-51 "Direct link to Usage")

```
await browser.networkProvideResponse(params)
```

### Parameters[​](#parameters-51 "Direct link to Parameters")

| Name     | Type                                      | Details                                                                                                                                                                      |
| -------- | ----------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.NetworkProvideResponseParameters` | ```
{
  request: NetworkRequest;
  body?: NetworkBytesValue;
  cookies?: NetworkSetCookieHeader[];
  headers?: NetworkHeader[];
  reasonPhrase?: string;
  statusCode?: JsUint;
}
``` |

### Returns[​](#returns-51 "Direct link to Returns")

* **\<Object>** **`local.NetworkProvideResponseResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## networkRemoveDataCollector[​](#networkremovedatacollector "Direct link to networkRemoveDataCollector")

WebDriver Bidi command to send command method "network.removeDataCollector" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-network-removeDataCollector).

### Usage[​](#usage-52 "Direct link to Usage")

```
await browser.networkRemoveDataCollector(params)
```

### Parameters[​](#parameters-52 "Direct link to Parameters")

| Name     | Type                                          | Details                                |
| -------- | --------------------------------------------- | -------------------------------------- |
| `params` | `remote.NetworkRemoveDataCollectorParameters` | ```
{
  collector: NetworkCollector;
}
``` |

### Returns[​](#returns-52 "Direct link to Returns")

* **\<Object>** **`local.NetworkRemoveDataCollectorResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## networkRemoveIntercept[​](#networkremoveintercept "Direct link to networkRemoveIntercept")

WebDriver Bidi command to send command method "network.removeIntercept" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-network-removeIntercept).

### Usage[​](#usage-53 "Direct link to Usage")

```
await browser.networkRemoveIntercept(params)
```

### Parameters[​](#parameters-53 "Direct link to Parameters")

| Name     | Type                                      | Details                                |
| -------- | ----------------------------------------- | -------------------------------------- |
| `params` | `remote.NetworkRemoveInterceptParameters` | ```
{
  intercept: NetworkIntercept;
}
``` |

### Returns[​](#returns-53 "Direct link to Returns")

* **\<Object>** **`local.NetworkRemoveInterceptResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## networkSetCacheBehavior[​](#networksetcachebehavior "Direct link to networkSetCacheBehavior")

WebDriver Bidi command to send command method "network.setCacheBehavior" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-network-setCacheBehavior).

### Usage[​](#usage-54 "Direct link to Usage")

```
await browser.networkSetCacheBehavior(params)
```

### Parameters[​](#parameters-54 "Direct link to Parameters")

| Name     | Type                                       | Details                                                                                      |
| -------- | ------------------------------------------ | -------------------------------------------------------------------------------------------- |
| `params` | `remote.NetworkSetCacheBehaviorParameters` | ```
{
  cacheBehavior: "default" | "bypass";
  contexts?: BrowsingContextBrowsingContext[];
}
``` |

### Returns[​](#returns-54 "Direct link to Returns")

* **\<Object>** **`local.NetworkSetCacheBehaviorResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## networkSetExtraHeaders[​](#networksetextraheaders "Direct link to networkSetExtraHeaders")

WebDriver Bidi command to send command method "network.setExtraHeaders" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-network-setExtraHeaders).

### Usage[​](#usage-55 "Direct link to Usage")

```
await browser.networkSetExtraHeaders(params)
```

### Parameters[​](#parameters-55 "Direct link to Parameters")

| Name     | Type                                      | Details                                                                                                                 |
| -------- | ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.NetworkSetExtraHeadersParameters` | ```
{
  headers: NetworkHeader[];
  contexts?: BrowsingContextBrowsingContext[];
  userContexts?: BrowserUserContext[];
}
``` |

### Returns[​](#returns-55 "Direct link to Returns")

* **\<Object>** **`local.NetworkSetExtraHeadersResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## scriptAddPreloadScript[​](#scriptaddpreloadscript "Direct link to scriptAddPreloadScript")

WebDriver Bidi command to send command method "script.addPreloadScript" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-script-addPreloadScript).

### Usage[​](#usage-56 "Direct link to Usage")

```
await browser.scriptAddPreloadScript(params)
```

### Parameters[​](#parameters-56 "Direct link to Parameters")

| Name     | Type                                      | Details                                                                                                                                                                          |
| -------- | ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.ScriptAddPreloadScriptParameters` | ```
{
  functionDeclaration: string;
  arguments?: ScriptChannelValue[];
  contexts?: BrowsingContextBrowsingContext[];
  userContexts?: BrowserUserContext[];
  sandbox?: string;
}
``` |

### Returns[​](#returns-56 "Direct link to Returns")

* **\<Object>** **`local.ScriptAddPreloadScriptResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    script: ScriptPreloadScript;
  }
  ```

***

## scriptDisown[​](#scriptdisown "Direct link to scriptDisown")

WebDriver Bidi command to send command method "script.disown" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-script-disown).

### Usage[​](#usage-57 "Direct link to Usage")

```
await browser.scriptDisown(params)
```

### Parameters[​](#parameters-57 "Direct link to Parameters")

| Name     | Type                            | Details                                                   |
| -------- | ------------------------------- | --------------------------------------------------------- |
| `params` | `remote.ScriptDisownParameters` | ```
{
  handles: ScriptHandle[];
  target: ScriptTarget;
}
``` |

### Returns[​](#returns-57 "Direct link to Returns")

* **\<Object>** **`local.ScriptDisownResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## scriptCallFunction[​](#scriptcallfunction "Direct link to scriptCallFunction")

WebDriver Bidi command to send command method "script.callFunction" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-script-callFunction).

### Usage[​](#usage-58 "Direct link to Usage")

```
await browser.scriptCallFunction(params)
```

### Parameters[​](#parameters-58 "Direct link to Parameters")

| Name     | Type                                  | Details                                                                                                                                                                                                                                                                   |
| -------- | ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.ScriptCallFunctionParameters` | ```
{
  functionDeclaration: string;
  awaitPromise: boolean;
  target: ScriptTarget;
  arguments?: ScriptLocalValue[];
  resultOwnership?: ScriptResultOwnership;
  serializationOptions?: ScriptSerializationOptions;
  this?: ScriptLocalValue;
  userActivation?: boolean;
}
``` |

### Returns[​](#returns-58 "Direct link to Returns")

* **\<Object>** **`local.ScriptCallFunctionResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## scriptEvaluate[​](#scriptevaluate "Direct link to scriptEvaluate")

WebDriver Bidi command to send command method "script.evaluate" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-script-evaluate).

### Usage[​](#usage-59 "Direct link to Usage")

```
await browser.scriptEvaluate(params)
```

### Parameters[​](#parameters-59 "Direct link to Parameters")

| Name     | Type                              | Details                                                                                                                                                                                               |
| -------- | --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `params` | `remote.ScriptEvaluateParameters` | ```
{
  expression: string;
  target: ScriptTarget;
  awaitPromise: boolean;
  resultOwnership?: ScriptResultOwnership;
  serializationOptions?: ScriptSerializationOptions;
  userActivation?: boolean;
}
``` |

### Returns[​](#returns-59 "Direct link to Returns")

* **\<Object>** **`local.ScriptEvaluateResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## scriptGetRealms[​](#scriptgetrealms "Direct link to scriptGetRealms")

WebDriver Bidi command to send command method "script.getRealms" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-script-getRealms).

### Usage[​](#usage-60 "Direct link to Usage")

```
await browser.scriptGetRealms(params)
```

### Parameters[​](#parameters-60 "Direct link to Parameters")

| Name     | Type                               | Details                                                                      |
| -------- | ---------------------------------- | ---------------------------------------------------------------------------- |
| `params` | `remote.ScriptGetRealmsParameters` | ```
{
  context?: BrowsingContextBrowsingContext;
  type?: ScriptRealmType;
}
``` |

### Returns[​](#returns-60 "Direct link to Returns")

* **\<Object>** **`local.ScriptGetRealmsResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    realms: ScriptRealmInfo[];
  }
  ```

***

## scriptRemovePreloadScript[​](#scriptremovepreloadscript "Direct link to scriptRemovePreloadScript")

WebDriver Bidi command to send command method "script.removePreloadScript" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-script-removePreloadScript).

### Usage[​](#usage-61 "Direct link to Usage")

```
await browser.scriptRemovePreloadScript(params)
```

### Parameters[​](#parameters-61 "Direct link to Parameters")

| Name     | Type                                         | Details                                |
| -------- | -------------------------------------------- | -------------------------------------- |
| `params` | `remote.ScriptRemovePreloadScriptParameters` | ```
{
  script: ScriptPreloadScript;
}
``` |

### Returns[​](#returns-61 "Direct link to Returns")

* **\<Object>** **`local.ScriptRemovePreloadScriptResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## storageGetCookies[​](#storagegetcookies "Direct link to storageGetCookies")

WebDriver Bidi command to send command method "storage.getCookies" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-storage-getCookies).

### Usage[​](#usage-62 "Direct link to Usage")

```
await browser.storageGetCookies(params)
```

### Parameters[​](#parameters-62 "Direct link to Parameters")

| Name     | Type                                 | Details                                                                          |
| -------- | ------------------------------------ | -------------------------------------------------------------------------------- |
| `params` | `remote.StorageGetCookiesParameters` | ```
{
  filter?: StorageCookieFilter;
  partition?: StoragePartitionDescriptor;
}
``` |

### Returns[​](#returns-62 "Direct link to Returns")

* **\<Object>** **`local.StorageGetCookiesResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    cookies: NetworkCookie[];
    partitionKey: StoragePartitionKey;
  }
  ```

***

## storageSetCookie[​](#storagesetcookie "Direct link to storageSetCookie")

WebDriver Bidi command to send command method "storage.setCookie" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-storage-setCookie).

### Usage[​](#usage-63 "Direct link to Usage")

```
await browser.storageSetCookie(params)
```

### Parameters[​](#parameters-63 "Direct link to Parameters")

| Name     | Type                                | Details                                                                          |
| -------- | ----------------------------------- | -------------------------------------------------------------------------------- |
| `params` | `remote.StorageSetCookieParameters` | ```
{
  cookie: StoragePartialCookie;
  partition?: StoragePartitionDescriptor;
}
``` |

### Returns[​](#returns-63 "Direct link to Returns")

* **\<Object>** **`local.StorageSetCookieResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    partitionKey: StoragePartitionKey;
  }
  ```

***

## storageDeleteCookies[​](#storagedeletecookies "Direct link to storageDeleteCookies")

WebDriver Bidi command to send command method "storage.deleteCookies" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-storage-deleteCookies).

### Usage[​](#usage-64 "Direct link to Usage")

```
await browser.storageDeleteCookies(params)
```

### Parameters[​](#parameters-64 "Direct link to Parameters")

| Name     | Type                                    | Details                                                                          |
| -------- | --------------------------------------- | -------------------------------------------------------------------------------- |
| `params` | `remote.StorageDeleteCookiesParameters` | ```
{
  filter?: StorageCookieFilter;
  partition?: StoragePartitionDescriptor;
}
``` |

### Returns[​](#returns-64 "Direct link to Returns")

* **\<Object>** **`local.StorageDeleteCookiesResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    partitionKey: StoragePartitionKey;
  }
  ```

***

## inputPerformActions[​](#inputperformactions "Direct link to inputPerformActions")

WebDriver Bidi command to send command method "input.performActions" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-input-performActions).

### Usage[​](#usage-65 "Direct link to Usage")

```
await browser.inputPerformActions(params)
```

### Parameters[​](#parameters-65 "Direct link to Parameters")

| Name     | Type                                   | Details                                                                            |
| -------- | -------------------------------------- | ---------------------------------------------------------------------------------- |
| `params` | `remote.InputPerformActionsParameters` | ```
{
  context: BrowsingContextBrowsingContext;
  actions: InputSourceActions[];
}
``` |

### Returns[​](#returns-65 "Direct link to Returns")

* **\<Object>** **`local.InputPerformActionsResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## inputReleaseActions[​](#inputreleaseactions "Direct link to inputReleaseActions")

WebDriver Bidi command to send command method "input.releaseActions" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-input-releaseActions).

### Usage[​](#usage-66 "Direct link to Usage")

```
await browser.inputReleaseActions(params)
```

### Parameters[​](#parameters-66 "Direct link to Parameters")

| Name     | Type                                   | Details                                            |
| -------- | -------------------------------------- | -------------------------------------------------- |
| `params` | `remote.InputReleaseActionsParameters` | ```
{
  context: BrowsingContextBrowsingContext;
}
``` |

### Returns[​](#returns-66 "Direct link to Returns")

* **\<Object>** **`local.InputReleaseActionsResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## inputSetFiles[​](#inputsetfiles "Direct link to inputSetFiles")

WebDriver Bidi command to send command method "input.setFiles" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-input-setFiles).

### Usage[​](#usage-67 "Direct link to Usage")

```
await browser.inputSetFiles(params)
```

### Parameters[​](#parameters-67 "Direct link to Parameters")

| Name     | Type                             | Details                                                                                               |
| -------- | -------------------------------- | ----------------------------------------------------------------------------------------------------- |
| `params` | `remote.InputSetFilesParameters` | ```
{
  context: BrowsingContextBrowsingContext;
  element: ScriptSharedReference;
  files: string[];
}
``` |

### Returns[​](#returns-67 "Direct link to Returns")

* **\<Object>** **`local.InputSetFilesResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```

***

## webExtensionInstall[​](#webextensioninstall "Direct link to webExtensionInstall")

WebDriver Bidi command to send command method "webExtension.install" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-webExtension-install).

### Usage[​](#usage-68 "Direct link to Usage")

```
await browser.webExtensionInstall(params)
```

### Parameters[​](#parameters-68 "Direct link to Parameters")

| Name     | Type                                   | Details                                             |
| -------- | -------------------------------------- | --------------------------------------------------- |
| `params` | `remote.WebExtensionInstallParameters` | ```
{
  extensionData: WebExtensionExtensionData;
}
``` |

### Returns[​](#returns-68 "Direct link to Returns")

* **\<Object>** **`local.WebExtensionInstallResult`:** Command return value with the following interface:
  <!-- -->
  ```
  {
    extension: WebExtensionExtension;
  }
  ```

***

## webExtensionUninstall[​](#webextensionuninstall "Direct link to webExtensionUninstall")

WebDriver Bidi command to send command method "webExtension.uninstall" with parameters.<br /><br />WebDriver Bidi Protocol command. More details can be found in the [official protocol docs](https://w3c.github.io/webdriver-bidi/#command-webExtension-uninstall).

### Usage[​](#usage-69 "Direct link to Usage")

```
await browser.webExtensionUninstall(params)
```

### Parameters[​](#parameters-69 "Direct link to Parameters")

| Name     | Type                                     | Details                                     |
| -------- | ---------------------------------------- | ------------------------------------------- |
| `params` | `remote.WebExtensionUninstallParameters` | ```
{
  extension: WebExtensionExtension;
}
``` |

### Returns[​](#returns-69 "Direct link to Returns")

* **\<Object>** **`local.WebExtensionUninstallResult`:** Command return value with the following interface:
  <!-- -->
  ```
  ;
  ```
