BytesValue

Represents a BytesValue object. Described in https://w3c.github.io/webdriver-bidi/#type-network-BytesValue.

Constructor

new BytesValue(type, value)

Creates a new BytesValue instance.

Parameters:
NameTypeDescription
typestring

The type of the BytesValue.

valuestring

The value of the BytesValue.

Members

type

Gets the type of the BytesValue.

value

Gets the value of the BytesValue.

Methods

asMap() → {Map.<string, string>}

Converts the BytesValue to a map.

Returns:

A map representation of the BytesValue.

Type: 
Map.<string, string>