RemoteValue¶
remote_value ¶
RemoteValue — models for remote values of the BiDi protocol.
RemoteValue ¶
Bases: BaseModel
Base for all remote values of the BiDi protocol.
Source code in bidiwave/protocol/remote_value.py
parse
classmethod
¶
Factory that returns the correct subtype based on type.
Source code in bidiwave/protocol/remote_value.py
HandleValue ¶
Bases: RemoteValue
For functions, symbols and objects with circular references.
The handle is only present when the result ownership is "root"; with the default ownership ("none") the browser omits it.
Source code in bidiwave/protocol/remote_value.py
NodeValue ¶
Bases: RemoteValue
DOM node reference with sharedId.
Source code in bidiwave/protocol/remote_value.py
ChannelValue ¶
Bases: RemoteValue
Channel for preload script communication.
Source code in bidiwave/protocol/remote_value.py
DateValue ¶
RegExpValue ¶
MapValue ¶
Bases: RemoteValue
JavaScript Map object — value is list of [key, value] pairs.
Source code in bidiwave/protocol/remote_value.py
SetValue ¶
Bases: RemoteValue
JavaScript Set object — value is list of entries.
Source code in bidiwave/protocol/remote_value.py
WeakMapValue ¶
WeakSetValue ¶
GeneratorValue ¶
Bases: RemoteValue
JavaScript Generator object — always returned as handle.
Source code in bidiwave/protocol/remote_value.py
ErrorValue ¶
ProxyValue ¶
PromiseValue ¶
TypedArrayValue ¶
Bases: RemoteValue
JavaScript TypedArray object (Int8Array, Uint8Array, etc.).
Source code in bidiwave/protocol/remote_value.py
ArrayBufferValue ¶
NodeListValue ¶
HTMLCollectionValue ¶
WindowValue ¶
Bases: RemoteValue
Window object — always returned as handle.