Protocol Base Types
Tipos e estruturas base para comandos, respostas e eventos do Chrome DevTools Protocol.
Base Types
pydoll.protocol.base
EmptyParams
Bases: TypedDict
Empty parameters for commands.
EmptyResponse
Bases: TypedDict
Empty response for commands.
Command
Bases: TypedDict, Generic[T_CommandParams, T_CommandResponse]
Base structure for all commands.
| ATTRIBUTE | DESCRIPTION |
|---|---|
method |
The command method name
TYPE:
|
params |
Optional dictionary of parameters for the command
TYPE:
|
Response
Bases: TypedDict, Generic[T_CommandResponse]
Base structure for all responses.
| ATTRIBUTE | DESCRIPTION |
|---|---|
id |
The ID that matches the command ID
TYPE:
|
result |
The result data for the command
TYPE:
|
CDPEvent
Bases: TypedDict, Generic[T_EventParams]
Base structure for all events.