Skip to content

运行时协议

Chrome DevTools 协议的运行时域命令、事件和类型。

方法

pydoll.protocol.runtime.methods

AwaitPromiseResponse module-attribute

AwaitPromiseResponse = Response[AwaitPromiseResult]

CallFunctionOnResponse module-attribute

CallFunctionOnResponse = Response[CallFunctionOnResult]

CompileScriptResponse module-attribute

CompileScriptResponse = Response[CompileScriptResult]

EvaluateResponse module-attribute

EvaluateResponse = Response[EvaluateResult]

GetExceptionDetailsResponse module-attribute

GetExceptionDetailsResponse = Response[GetExceptionDetailsResult]

GetHeapUsageResponse module-attribute

GetHeapUsageResponse = Response[GetHeapUsageResult]

GetIsolateIdResponse module-attribute

GetIsolateIdResponse = Response[GetIsolateIdResult]

GetPropertiesResponse module-attribute

GetPropertiesResponse = Response[GetPropertiesResult]

GlobalLexicalScopeNamesResponse module-attribute

GlobalLexicalScopeNamesResponse = Response[GlobalLexicalScopeNamesResult]

QueryObjectsResponse module-attribute

QueryObjectsResponse = Response[QueryObjectsResult]

RunScriptResponse module-attribute

RunScriptResponse = Response[RunScriptResult]

AddBindingCommand module-attribute

AddBindingCommand = Command[AddBindingParams, EmptyResponse]

AwaitPromiseCommand module-attribute

CallFunctionOnCommand module-attribute

CompileScriptCommand module-attribute

DisableCommand module-attribute

DisableCommand = Command[EmptyParams, EmptyResponse]

DiscardConsoleEntriesCommand module-attribute

DiscardConsoleEntriesCommand = Command[EmptyParams, EmptyResponse]

EnableCommand module-attribute

EnableCommand = Command[EmptyParams, EmptyResponse]

EvaluateCommand module-attribute

GetExceptionDetailsCommand module-attribute

GetHeapUsageCommand module-attribute

GetHeapUsageCommand = Command[EmptyParams, GetHeapUsageResponse]

GetIsolateIdCommand module-attribute

GetIsolateIdCommand = Command[EmptyParams, GetIsolateIdResponse]

GetPropertiesCommand module-attribute

GlobalLexicalScopeNamesCommand module-attribute

QueryObjectsCommand module-attribute

ReleaseObjectCommand module-attribute

ReleaseObjectCommand = Command[ReleaseObjectParams, EmptyResponse]

ReleaseObjectGroupCommand module-attribute

ReleaseObjectGroupCommand = Command[ReleaseObjectGroupParams, EmptyResponse]

RemoveBindingCommand module-attribute

RemoveBindingCommand = Command[RemoveBindingParams, EmptyResponse]

RunIfWaitingForDebuggerCommand module-attribute

RunIfWaitingForDebuggerCommand = Command[EmptyParams, EmptyResponse]

RunScriptCommand module-attribute

SetAsyncCallStackDepthCommand module-attribute

SetAsyncCallStackDepthCommand = Command[SetAsyncCallStackDepthParams, EmptyResponse]

SetCustomObjectFormatterEnabledCommand module-attribute

SetCustomObjectFormatterEnabledCommand = Command[SetCustomObjectFormatterEnabledParams, EmptyResponse]

SetMaxCallStackSizeToCaptureCommand module-attribute

SetMaxCallStackSizeToCaptureCommand = Command[SetMaxCallStackSizeToCaptureParams, EmptyResponse]

TerminateExecutionCommand module-attribute

TerminateExecutionCommand = Command[EmptyParams, EmptyResponse]

RuntimeMethod

Bases: str, Enum

Runtime domain method names.

ADD_BINDING class-attribute instance-attribute

ADD_BINDING = 'Runtime.addBinding'

AWAIT_PROMISE class-attribute instance-attribute

AWAIT_PROMISE = 'Runtime.awaitPromise'

CALL_FUNCTION_ON class-attribute instance-attribute

CALL_FUNCTION_ON = 'Runtime.callFunctionOn'

COMPILE_SCRIPT class-attribute instance-attribute

COMPILE_SCRIPT = 'Runtime.compileScript'

DISABLE class-attribute instance-attribute

DISABLE = 'Runtime.disable'

DISCARD_CONSOLE_ENTRIES class-attribute instance-attribute

DISCARD_CONSOLE_ENTRIES = 'Runtime.discardConsoleEntries'

ENABLE class-attribute instance-attribute

ENABLE = 'Runtime.enable'

EVALUATE class-attribute instance-attribute

EVALUATE = 'Runtime.evaluate'

GET_EXCEPTION_DETAILS class-attribute instance-attribute

GET_EXCEPTION_DETAILS = 'Runtime.getExceptionDetails'

GET_HEAP_USAGE class-attribute instance-attribute

GET_HEAP_USAGE = 'Runtime.getHeapUsage'

GET_ISOLATE_ID class-attribute instance-attribute

GET_ISOLATE_ID = 'Runtime.getIsolateId'

GET_PROPERTIES class-attribute instance-attribute

GET_PROPERTIES = 'Runtime.getProperties'

GLOBAL_LEXICAL_SCOPE_NAMES class-attribute instance-attribute

GLOBAL_LEXICAL_SCOPE_NAMES = 'Runtime.globalLexicalScopeNames'

QUERY_OBJECTS class-attribute instance-attribute

QUERY_OBJECTS = 'Runtime.queryObjects'

RELEASE_OBJECT class-attribute instance-attribute

RELEASE_OBJECT = 'Runtime.releaseObject'

RELEASE_OBJECT_GROUP class-attribute instance-attribute

RELEASE_OBJECT_GROUP = 'Runtime.releaseObjectGroup'

REMOVE_BINDING class-attribute instance-attribute

REMOVE_BINDING = 'Runtime.removeBinding'

RUN_IF_WAITING_FOR_DEBUGGER class-attribute instance-attribute

RUN_IF_WAITING_FOR_DEBUGGER = 'Runtime.runIfWaitingForDebugger'

RUN_SCRIPT class-attribute instance-attribute

RUN_SCRIPT = 'Runtime.runScript'

SET_ASYNC_CALL_STACK_DEPTH class-attribute instance-attribute

SET_ASYNC_CALL_STACK_DEPTH = 'Runtime.setAsyncCallStackDepth'

SET_CUSTOM_OBJECT_FORMATTER_ENABLED class-attribute instance-attribute

SET_CUSTOM_OBJECT_FORMATTER_ENABLED = 'Runtime.setCustomObjectFormatterEnabled'

SET_MAX_CALL_STACK_SIZE_TO_CAPTURE class-attribute instance-attribute

SET_MAX_CALL_STACK_SIZE_TO_CAPTURE = 'Runtime.setMaxCallStackSizeToCapture'

TERMINATE_EXECUTION class-attribute instance-attribute

TERMINATE_EXECUTION = 'Runtime.terminateExecution'

AddBindingParams

Bases: TypedDict

Parameters for addBinding command.

name instance-attribute

name

executionContextId instance-attribute

executionContextId

executionContextName instance-attribute

executionContextName

AwaitPromiseParams

Bases: TypedDict

Parameters for awaitPromise command.

promiseObjectId instance-attribute

promiseObjectId

returnByValue instance-attribute

returnByValue

generatePreview instance-attribute

generatePreview

CallFunctionOnParams

Bases: TypedDict

Parameters for callFunctionOn command.

functionDeclaration instance-attribute

functionDeclaration

objectId instance-attribute

objectId

arguments instance-attribute

arguments

silent instance-attribute

silent

returnByValue instance-attribute

returnByValue

generatePreview instance-attribute

generatePreview

userGesture instance-attribute

userGesture

awaitPromise instance-attribute

awaitPromise

executionContextId instance-attribute

executionContextId

objectGroup instance-attribute

objectGroup

throwOnSideEffect instance-attribute

throwOnSideEffect

uniqueContextId instance-attribute

uniqueContextId

serializationOptions instance-attribute

serializationOptions

CompileScriptParams

Bases: TypedDict

Parameters for compileScript command.

expression instance-attribute

expression

sourceURL instance-attribute

sourceURL

persistScript instance-attribute

persistScript

executionContextId instance-attribute

executionContextId

EvaluateParams

Bases: TypedDict

Parameters for evaluate command.

expression instance-attribute

expression

objectGroup instance-attribute

objectGroup

includeCommandLineAPI instance-attribute

includeCommandLineAPI

silent instance-attribute

silent

contextId instance-attribute

contextId

returnByValue instance-attribute

returnByValue

generatePreview instance-attribute

generatePreview

userGesture instance-attribute

userGesture

awaitPromise instance-attribute

awaitPromise

throwOnSideEffect instance-attribute

throwOnSideEffect

timeout instance-attribute

timeout

disableBreaks instance-attribute

disableBreaks

replMode instance-attribute

replMode

allowUnsafeEvalBlockedByCSP instance-attribute

allowUnsafeEvalBlockedByCSP

uniqueContextId instance-attribute

uniqueContextId

serializationOptions instance-attribute

serializationOptions

GetExceptionDetailsParams

Bases: TypedDict

Parameters for getExceptionDetails command.

errorObjectId instance-attribute

errorObjectId

GetPropertiesParams

Bases: TypedDict

Parameters for getProperties command.

objectId instance-attribute

objectId

ownProperties instance-attribute

ownProperties

accessorPropertiesOnly instance-attribute

accessorPropertiesOnly

generatePreview instance-attribute

generatePreview

nonIndexedPropertiesOnly instance-attribute

nonIndexedPropertiesOnly

GlobalLexicalScopeNamesParams

Bases: TypedDict

Parameters for globalLexicalScopeNames command.

executionContextId instance-attribute

executionContextId

QueryObjectsParams

Bases: TypedDict

Parameters for queryObjects command.

prototypeObjectId instance-attribute

prototypeObjectId

objectGroup instance-attribute

objectGroup

ReleaseObjectParams

Bases: TypedDict

Parameters for releaseObject command.

objectId instance-attribute

objectId

ReleaseObjectGroupParams

Bases: TypedDict

Parameters for releaseObjectGroup command.

objectGroup instance-attribute

objectGroup

RemoveBindingParams

Bases: TypedDict

Parameters for removeBinding command.

name instance-attribute

name

RunScriptParams

Bases: TypedDict

Parameters for runScript command.

scriptId instance-attribute

scriptId

executionContextId instance-attribute

executionContextId

objectGroup instance-attribute

objectGroup

silent instance-attribute

silent

includeCommandLineAPI instance-attribute

includeCommandLineAPI

returnByValue instance-attribute

returnByValue

generatePreview instance-attribute

generatePreview

awaitPromise instance-attribute

awaitPromise

SetAsyncCallStackDepthParams

Bases: TypedDict

Parameters for setAsyncCallStackDepth command.

maxDepth instance-attribute

maxDepth

SetCustomObjectFormatterEnabledParams

Bases: TypedDict

Parameters for setCustomObjectFormatterEnabled command.

enabled instance-attribute

enabled

SetMaxCallStackSizeToCaptureParams

Bases: TypedDict

Parameters for setMaxCallStackSizeToCapture command.

size instance-attribute

size

AwaitPromiseResult

Bases: TypedDict

Result for awaitPromise command.

result instance-attribute

result

exceptionDetails instance-attribute

exceptionDetails

CallFunctionOnResult

Bases: TypedDict

Result for callFunctionOn command.

result instance-attribute

result

exceptionDetails instance-attribute

exceptionDetails

CompileScriptResult

Bases: TypedDict

Result for compileScript command.

scriptId instance-attribute

scriptId

exceptionDetails instance-attribute

exceptionDetails

EvaluateResult

Bases: TypedDict

Result for evaluate command.

result instance-attribute

result

exceptionDetails instance-attribute

exceptionDetails

GetExceptionDetailsResult

Bases: TypedDict

Result for getExceptionDetails command.

exceptionDetails instance-attribute

exceptionDetails

GetHeapUsageResult

Bases: TypedDict

Result for getHeapUsage command.

usedSize instance-attribute

usedSize

totalSize instance-attribute

totalSize

embedderHeapUsedSize instance-attribute

embedderHeapUsedSize

backingStorageSize instance-attribute

backingStorageSize

GetIsolateIdResult

Bases: TypedDict

Result for getIsolateId command.

id instance-attribute

id

GetPropertiesResult

Bases: TypedDict

Result for getProperties command.

result instance-attribute

result

internalProperties instance-attribute

internalProperties

privateProperties instance-attribute

privateProperties

exceptionDetails instance-attribute

exceptionDetails

GlobalLexicalScopeNamesResult

Bases: TypedDict

Result for globalLexicalScopeNames command.

names instance-attribute

names

QueryObjectsResult

Bases: TypedDict

Result for queryObjects command.

objects instance-attribute

objects

RunScriptResult

Bases: TypedDict

Result for runScript command.

result instance-attribute

result

exceptionDetails instance-attribute

exceptionDetails

事件

pydoll.protocol.runtime.events

BindingCalledEvent module-attribute

BindingCalledEvent = CDPEvent[BindingCalledEventParams]

ConsoleAPICalledEvent module-attribute

ConsoleAPICalledEvent = CDPEvent[ConsoleAPICalledEventParams]

ExceptionRevokedEvent module-attribute

ExceptionRevokedEvent = CDPEvent[ExceptionRevokedEventParams]

ExceptionThrownEvent module-attribute

ExceptionThrownEvent = CDPEvent[ExceptionThrownEventParams]

ExecutionContextCreatedEvent module-attribute

ExecutionContextCreatedEvent = CDPEvent[ExecutionContextCreatedEventParams]

ExecutionContextDestroyedEvent module-attribute

ExecutionContextDestroyedEvent = CDPEvent[ExecutionContextDestroyedEventParams]

ExecutionContextsClearedEvent module-attribute

ExecutionContextsClearedEvent = CDPEvent[ExecutionContextsClearedEventParams]

InspectRequestedEvent module-attribute

InspectRequestedEvent = CDPEvent[InspectRequestedEventParams]

RuntimeEvent

Bases: str, Enum

Events from the Runtime domain of the Chrome DevTools Protocol.

This enumeration contains the names of Runtime-related events that can be received from the Chrome DevTools Protocol. These events provide information about JavaScript execution, console API calls, exceptions, and execution contexts.

CONSOLE_API_CALLED class-attribute instance-attribute

CONSOLE_API_CALLED = 'Runtime.consoleAPICalled'

Issued when console API was called.

PARAMETER DESCRIPTION
type

Type of the call. Allowed Values: log, debug, info, error, warning, dir, dirxml, table, trace, clear, startGroup, startGroupCollapsed, endGroup, assert, profile, profileEnd, count, timeEnd

TYPE: str

args

Call arguments.

TYPE: array[RemoteObject]

executionContextId

Identifier of the context where the call was made.

TYPE: ExecutionContextId

timestamp

Call timestamp.

TYPE: Timestamp

stackTrace

Stack trace captured when the call was made. The async stack chain is automatically reported for the following call types: assert, error, trace, warning. For other types the async call chain can be retrieved using Debugger.getStackTrace and stackTrace.parentId field.

TYPE: StackTrace

context

Console context descriptor for calls on non-default console context (not console.*): 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on named context.

TYPE: str

EXCEPTION_REVOKED class-attribute instance-attribute

EXCEPTION_REVOKED = 'Runtime.exceptionRevoked'

Issued when unhandled exception was revoked.

PARAMETER DESCRIPTION
reason

Reason describing why exception was revoked.

TYPE: str

exceptionId

The id of revoked exception, as reported in exceptionThrown.

TYPE: int

EXCEPTION_THROWN class-attribute instance-attribute

EXCEPTION_THROWN = 'Runtime.exceptionThrown'

Issued when exception was thrown and unhandled.

PARAMETER DESCRIPTION
timestamp

Timestamp of the exception.

TYPE: Timestamp

exceptionDetails

Details about the exception.

TYPE: ExceptionDetails

EXECUTION_CONTEXT_CREATED class-attribute instance-attribute

EXECUTION_CONTEXT_CREATED = 'Runtime.executionContextCreated'

Issued when new execution context is created.

PARAMETER DESCRIPTION
context

A newly created execution context.

TYPE: ExecutionContextDescription

EXECUTION_CONTEXT_DESTROYED class-attribute instance-attribute

EXECUTION_CONTEXT_DESTROYED = 'Runtime.executionContextDestroyed'

Issued when execution context is destroyed.

PARAMETER DESCRIPTION
executionContextId

Id of the destroyed context.

TYPE: ExecutionContextId

executionContextUniqueId

Unique Id of the destroyed context.

TYPE: str

EXECUTION_CONTEXTS_CLEARED class-attribute instance-attribute

EXECUTION_CONTEXTS_CLEARED = 'Runtime.executionContextsCleared'

Issued when all executionContexts were cleared in browser.

INSPECT_REQUESTED class-attribute instance-attribute

INSPECT_REQUESTED = 'Runtime.inspectRequested'

Issued when object should be inspected (for example, as a result of inspect() command line API call).

PARAMETER DESCRIPTION
object

Object to inspect.

TYPE: RemoteObject

hints

Hints.

TYPE: object

executionContextId

Identifier of the context where the call was made.

TYPE: ExecutionContextId

BINDING_CALLED class-attribute instance-attribute

BINDING_CALLED = 'Runtime.bindingCalled'

Notification is issued every time when binding is called.

PARAMETER DESCRIPTION
name

Name of the binding.

TYPE: str

payload

Payload of the binding.

TYPE: str

executionContextId

Identifier of the context where the call was made.

TYPE: ExecutionContextId

ConsoleAPICallType

Bases: str, Enum

Console API call types.

LOG class-attribute instance-attribute

LOG = 'log'

DEBUG class-attribute instance-attribute

DEBUG = 'debug'

INFO class-attribute instance-attribute

INFO = 'info'

ERROR class-attribute instance-attribute

ERROR = 'error'

WARNING class-attribute instance-attribute

WARNING = 'warning'

DIR class-attribute instance-attribute

DIR = 'dir'

DIRXML class-attribute instance-attribute

DIRXML = 'dirxml'

TABLE class-attribute instance-attribute

TABLE = 'table'

TRACE class-attribute instance-attribute

TRACE = 'trace'

CLEAR class-attribute instance-attribute

CLEAR = 'clear'

START_GROUP class-attribute instance-attribute

START_GROUP = 'startGroup'

START_GROUP_COLLAPSED class-attribute instance-attribute

START_GROUP_COLLAPSED = 'startGroupCollapsed'

END_GROUP class-attribute instance-attribute

END_GROUP = 'endGroup'

ASSERT class-attribute instance-attribute

ASSERT = 'assert'

PROFILE class-attribute instance-attribute

PROFILE = 'profile'

PROFILE_END class-attribute instance-attribute

PROFILE_END = 'profileEnd'

COUNT class-attribute instance-attribute

COUNT = 'count'

TIME_END class-attribute instance-attribute

TIME_END = 'timeEnd'

BindingCalledEventParams

Bases: TypedDict

Parameters for bindingCalled event.

name instance-attribute

name

payload instance-attribute

payload

executionContextId instance-attribute

executionContextId

ConsoleAPICalledEventParams

Bases: TypedDict

Parameters for consoleAPICalled event.

type instance-attribute

type

args instance-attribute

args

executionContextId instance-attribute

executionContextId

timestamp instance-attribute

timestamp

stackTrace instance-attribute

stackTrace

context instance-attribute

context

ExceptionRevokedEventParams

Bases: TypedDict

Parameters for exceptionRevoked event.

reason instance-attribute

reason

exceptionId instance-attribute

exceptionId

ExceptionThrownEventParams

Bases: TypedDict

Parameters for exceptionThrown event.

timestamp instance-attribute

timestamp

exceptionDetails instance-attribute

exceptionDetails

ExecutionContextCreatedEventParams

Bases: TypedDict

Parameters for executionContextCreated event.

context instance-attribute

context

ExecutionContextDestroyedEventParams

Bases: TypedDict

Parameters for executionContextDestroyed event.

executionContextId instance-attribute

executionContextId

executionContextUniqueId instance-attribute

executionContextUniqueId

ExecutionContextsClearedEventParams

Bases: TypedDict

Parameters for executionContextsCleared event.

InspectRequestedEventParams

Bases: TypedDict

Parameters for inspectRequested event.

object instance-attribute

object

hints instance-attribute

hints

executionContextId instance-attribute

executionContextId

类型

pydoll.protocol.runtime.types

ScriptId module-attribute

ScriptId = str

RemoteObjectId module-attribute

RemoteObjectId = str

UnserializableValue module-attribute

UnserializableValue = str

ExecutionContextId module-attribute

ExecutionContextId = int

Timestamp module-attribute

Timestamp = float

TimeDelta module-attribute

TimeDelta = float

UniqueDebuggerId module-attribute

UniqueDebuggerId = str

SerializationType

Bases: str, Enum

Serialization types.

DEEP class-attribute instance-attribute

DEEP = 'deep'

JSON class-attribute instance-attribute

JSON = 'json'

ID_ONLY class-attribute instance-attribute

ID_ONLY = 'idOnly'

DeepSerializedValueType

Bases: str, Enum

Deep serialized value types.

UNDEFINED class-attribute instance-attribute

UNDEFINED = 'undefined'

NULL class-attribute instance-attribute

NULL = 'null'

STRING class-attribute instance-attribute

STRING = 'string'

NUMBER class-attribute instance-attribute

NUMBER = 'number'

BOOLEAN class-attribute instance-attribute

BOOLEAN = 'boolean'

BIGINT class-attribute instance-attribute

BIGINT = 'bigint'

REGEXP class-attribute instance-attribute

REGEXP = 'regexp'

DATE class-attribute instance-attribute

DATE = 'date'

SYMBOL class-attribute instance-attribute

SYMBOL = 'symbol'

ARRAY class-attribute instance-attribute

ARRAY = 'array'

OBJECT class-attribute instance-attribute

OBJECT = 'object'

FUNCTION class-attribute instance-attribute

FUNCTION = 'function'

MAP class-attribute instance-attribute

MAP = 'map'

SET class-attribute instance-attribute

SET = 'set'

WEAKMAP class-attribute instance-attribute

WEAKMAP = 'weakmap'

WEAKSET class-attribute instance-attribute

WEAKSET = 'weakset'

ERROR class-attribute instance-attribute

ERROR = 'error'

PROXY class-attribute instance-attribute

PROXY = 'proxy'

PROMISE class-attribute instance-attribute

PROMISE = 'promise'

TYPEDARRAY class-attribute instance-attribute

TYPEDARRAY = 'typedarray'

ARRAYBUFFER class-attribute instance-attribute

ARRAYBUFFER = 'arraybuffer'

NODE class-attribute instance-attribute

NODE = 'node'

WINDOW class-attribute instance-attribute

WINDOW = 'window'

GENERATOR class-attribute instance-attribute

GENERATOR = 'generator'

RemoteObjectType

Bases: str, Enum

Remote object types.

OBJECT class-attribute instance-attribute

OBJECT = 'object'

FUNCTION class-attribute instance-attribute

FUNCTION = 'function'

UNDEFINED class-attribute instance-attribute

UNDEFINED = 'undefined'

STRING class-attribute instance-attribute

STRING = 'string'

NUMBER class-attribute instance-attribute

NUMBER = 'number'

BOOLEAN class-attribute instance-attribute

BOOLEAN = 'boolean'

SYMBOL class-attribute instance-attribute

SYMBOL = 'symbol'

BIGINT class-attribute instance-attribute

BIGINT = 'bigint'

RemoteObjectSubtype

Bases: str, Enum

Remote object subtypes.

ARRAY class-attribute instance-attribute

ARRAY = 'array'

NULL class-attribute instance-attribute

NULL = 'null'

NODE class-attribute instance-attribute

NODE = 'node'

REGEXP class-attribute instance-attribute

REGEXP = 'regexp'

DATE class-attribute instance-attribute

DATE = 'date'

MAP class-attribute instance-attribute

MAP = 'map'

SET class-attribute instance-attribute

SET = 'set'

WEAKMAP class-attribute instance-attribute

WEAKMAP = 'weakmap'

WEAKSET class-attribute instance-attribute

WEAKSET = 'weakset'

ITERATOR class-attribute instance-attribute

ITERATOR = 'iterator'

GENERATOR class-attribute instance-attribute

GENERATOR = 'generator'

ERROR class-attribute instance-attribute

ERROR = 'error'

PROXY class-attribute instance-attribute

PROXY = 'proxy'

PROMISE class-attribute instance-attribute

PROMISE = 'promise'

TYPEDARRAY class-attribute instance-attribute

TYPEDARRAY = 'typedarray'

ARRAYBUFFER class-attribute instance-attribute

ARRAYBUFFER = 'arraybuffer'

DATAVIEW class-attribute instance-attribute

DATAVIEW = 'dataview'

WEBASSEMBLYMEMORY class-attribute instance-attribute

WEBASSEMBLYMEMORY = 'webassemblymemory'

WASMVALUE class-attribute instance-attribute

WASMVALUE = 'wasmvalue'

ObjectPreviewType

Bases: str, Enum

Object preview types.

OBJECT class-attribute instance-attribute

OBJECT = 'object'

FUNCTION class-attribute instance-attribute

FUNCTION = 'function'

UNDEFINED class-attribute instance-attribute

UNDEFINED = 'undefined'

STRING class-attribute instance-attribute

STRING = 'string'

NUMBER class-attribute instance-attribute

NUMBER = 'number'

BOOLEAN class-attribute instance-attribute

BOOLEAN = 'boolean'

SYMBOL class-attribute instance-attribute

SYMBOL = 'symbol'

BIGINT class-attribute instance-attribute

BIGINT = 'bigint'

ObjectPreviewSubtype

Bases: str, Enum

Object preview subtypes.

ARRAY class-attribute instance-attribute

ARRAY = 'array'

NULL class-attribute instance-attribute

NULL = 'null'

NODE class-attribute instance-attribute

NODE = 'node'

REGEXP class-attribute instance-attribute

REGEXP = 'regexp'

DATE class-attribute instance-attribute

DATE = 'date'

MAP class-attribute instance-attribute

MAP = 'map'

SET class-attribute instance-attribute

SET = 'set'

WEAKMAP class-attribute instance-attribute

WEAKMAP = 'weakmap'

WEAKSET class-attribute instance-attribute

WEAKSET = 'weakset'

ITERATOR class-attribute instance-attribute

ITERATOR = 'iterator'

GENERATOR class-attribute instance-attribute

GENERATOR = 'generator'

ERROR class-attribute instance-attribute

ERROR = 'error'

PROXY class-attribute instance-attribute

PROXY = 'proxy'

PROMISE class-attribute instance-attribute

PROMISE = 'promise'

TYPEDARRAY class-attribute instance-attribute

TYPEDARRAY = 'typedarray'

ARRAYBUFFER class-attribute instance-attribute

ARRAYBUFFER = 'arraybuffer'

DATAVIEW class-attribute instance-attribute

DATAVIEW = 'dataview'

WEBASSEMBLYMEMORY class-attribute instance-attribute

WEBASSEMBLYMEMORY = 'webassemblymemory'

WASMVALUE class-attribute instance-attribute

WASMVALUE = 'wasmvalue'

PropertyPreviewType

Bases: str, Enum

Property preview types.

OBJECT class-attribute instance-attribute

OBJECT = 'object'

FUNCTION class-attribute instance-attribute

FUNCTION = 'function'

UNDEFINED class-attribute instance-attribute

UNDEFINED = 'undefined'

STRING class-attribute instance-attribute

STRING = 'string'

NUMBER class-attribute instance-attribute

NUMBER = 'number'

BOOLEAN class-attribute instance-attribute

BOOLEAN = 'boolean'

SYMBOL class-attribute instance-attribute

SYMBOL = 'symbol'

ACCESSOR class-attribute instance-attribute

ACCESSOR = 'accessor'

BIGINT class-attribute instance-attribute

BIGINT = 'bigint'

PropertyPreviewSubtype

Bases: str, Enum

Property preview subtypes.

ARRAY class-attribute instance-attribute

ARRAY = 'array'

NULL class-attribute instance-attribute

NULL = 'null'

NODE class-attribute instance-attribute

NODE = 'node'

REGEXP class-attribute instance-attribute

REGEXP = 'regexp'

DATE class-attribute instance-attribute

DATE = 'date'

MAP class-attribute instance-attribute

MAP = 'map'

SET class-attribute instance-attribute

SET = 'set'

WEAKMAP class-attribute instance-attribute

WEAKMAP = 'weakmap'

WEAKSET class-attribute instance-attribute

WEAKSET = 'weakset'

ITERATOR class-attribute instance-attribute

ITERATOR = 'iterator'

GENERATOR class-attribute instance-attribute

GENERATOR = 'generator'

ERROR class-attribute instance-attribute

ERROR = 'error'

PROXY class-attribute instance-attribute

PROXY = 'proxy'

PROMISE class-attribute instance-attribute

PROMISE = 'promise'

TYPEDARRAY class-attribute instance-attribute

TYPEDARRAY = 'typedarray'

ARRAYBUFFER class-attribute instance-attribute

ARRAYBUFFER = 'arraybuffer'

DATAVIEW class-attribute instance-attribute

DATAVIEW = 'dataview'

WEBASSEMBLYMEMORY class-attribute instance-attribute

WEBASSEMBLYMEMORY = 'webassemblymemory'

WASMVALUE class-attribute instance-attribute

WASMVALUE = 'wasmvalue'

SerializationOptions

Bases: TypedDict

Represents options for serialization.

serialization instance-attribute

serialization

maxDepth instance-attribute

maxDepth

additionalParameters instance-attribute

additionalParameters

DeepSerializedValue

Bases: TypedDict

Represents deep serialized value.

type instance-attribute

type

value instance-attribute

value

objectId instance-attribute

objectId

weakLocalObjectReference instance-attribute

weakLocalObjectReference

CustomPreview

Bases: TypedDict

Custom preview for objects.

header instance-attribute

header

bodyGetterId instance-attribute

bodyGetterId

PropertyPreview

Bases: TypedDict

Property preview for objects.

name instance-attribute

name

type instance-attribute

type

value instance-attribute

value

valuePreview instance-attribute

valuePreview

subtype instance-attribute

subtype

EntryPreview

Bases: TypedDict

Entry preview for collections.

value instance-attribute

value

key instance-attribute

key

ObjectPreview

Bases: TypedDict

Object containing abbreviated remote object value.

type instance-attribute

type

overflow instance-attribute

overflow

properties instance-attribute

properties

subtype instance-attribute

subtype

description instance-attribute

description

entries instance-attribute

entries

RemoteObject

Bases: TypedDict

Mirror object referencing original JavaScript object.

type instance-attribute

type

subtype instance-attribute

subtype

className instance-attribute

className

value instance-attribute

value

unserializableValue instance-attribute

unserializableValue

description instance-attribute

description

deepSerializedValue instance-attribute

deepSerializedValue

objectId instance-attribute

objectId

preview instance-attribute

preview

customPreview instance-attribute

customPreview

PropertyDescriptor

Bases: TypedDict

Object property descriptor.

name instance-attribute

name

configurable instance-attribute

configurable

enumerable instance-attribute

enumerable

value instance-attribute

value

writable instance-attribute

writable

get instance-attribute

get

set instance-attribute

set

wasThrown instance-attribute

wasThrown

isOwn instance-attribute

isOwn

symbol instance-attribute

symbol

InternalPropertyDescriptor

Bases: TypedDict

Object internal property descriptor.

name instance-attribute

name

value instance-attribute

value

PrivatePropertyDescriptor

Bases: TypedDict

Object private field descriptor.

name instance-attribute

name

value instance-attribute

value

get instance-attribute

get

set instance-attribute

set

CallArgument

Bases: TypedDict

Represents function call argument.

value instance-attribute

value

unserializableValue instance-attribute

unserializableValue

objectId instance-attribute

objectId

ExecutionContextDescription

Bases: TypedDict

Description of an isolated world.

id instance-attribute

id

origin instance-attribute

origin

name instance-attribute

name

uniqueId instance-attribute

uniqueId

auxData instance-attribute

auxData

ExceptionDetails

Bases: TypedDict

Detailed information about exception.

exceptionId instance-attribute

exceptionId

text instance-attribute

text

lineNumber instance-attribute

lineNumber

columnNumber instance-attribute

columnNumber

scriptId instance-attribute

scriptId

url instance-attribute

url

stackTrace instance-attribute

stackTrace

exception instance-attribute

exception

executionContextId instance-attribute

executionContextId

exceptionMetaData instance-attribute

exceptionMetaData

CallFrame

Bases: TypedDict

Stack entry for runtime errors and assertions.

functionName instance-attribute

functionName

scriptId instance-attribute

scriptId

url instance-attribute

url

lineNumber instance-attribute

lineNumber

columnNumber instance-attribute

columnNumber

StackTraceId

Bases: TypedDict

Stack trace identifier.

id instance-attribute

id

debuggerId instance-attribute

debuggerId

StackTrace

Bases: TypedDict

Call frames for assertions or error messages.

callFrames instance-attribute

callFrames

description instance-attribute

description

parent instance-attribute

parent

parentId instance-attribute

parentId