Protocol Events
This section documents the Chrome DevTools Protocol event constants and handlers used by Pydoll.
Page Events
pydoll.protocol.page.events
PageEvent
Bases: str
, Enum
Events from the Page domain of the Chrome DevTools Protocol.
This enumeration contains the names of Page-related events that can be received from the Chrome DevTools Protocol. These events provide information about page lifecycle, frame navigation, JavaScript dialogs, and other page-related activities.
DOM_CONTENT_EVENT_FIRED
class-attribute
instance-attribute
Fired when DOMContentLoaded event is fired.
PARAMETER | DESCRIPTION |
---|---|
timestamp
|
Timestamp when the event occurred.
TYPE:
|
FILE_CHOOSER_OPENED
class-attribute
instance-attribute
Emitted only when page.interceptFileChooser is enabled.
PARAMETER | DESCRIPTION |
---|---|
frameId
|
Id of the frame containing input node.
TYPE:
|
mode
|
Input mode. Allowed Values: selectSingle, selectMultiple
TYPE:
|
backendNodeId
|
Input node id. Only present for file choosers opened via an element.
TYPE:
|
FRAME_ATTACHED
class-attribute
instance-attribute
Fired when frame has been attached to its parent.
PARAMETER | DESCRIPTION |
---|---|
frameId
|
Id of the frame that has been attached.
TYPE:
|
parentFrameId
|
Parent frame identifier.
TYPE:
|
stack
|
JavaScript stack trace of when frame was attached, only set if frame initiated from script.
TYPE:
|
FRAME_DETACHED
class-attribute
instance-attribute
Fired when frame has been detached from its parent.
PARAMETER | DESCRIPTION |
---|---|
frameId
|
Id of the frame that has been detached.
TYPE:
|
reason
|
Reason why the frame was detached. Allowed Values: remove, swap
TYPE:
|
FRAME_NAVIGATED
class-attribute
instance-attribute
Fired once navigation of the frame has completed. Frame is now associated with the new loader.
PARAMETER | DESCRIPTION |
---|---|
frame
|
Frame object.
TYPE:
|
type
|
Type of navigation.
TYPE:
|
INTERSTITIAL_HIDDEN
class-attribute
instance-attribute
Fired when interstitial page was hidden.
INTERSTITIAL_SHOWN
class-attribute
instance-attribute
Fired when interstitial page was shown.
JAVASCRIPT_DIALOG_CLOSED
class-attribute
instance-attribute
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been closed.
PARAMETER | DESCRIPTION |
---|---|
frameId
|
Frame id.
TYPE:
|
result
|
Whether dialog was confirmed.
TYPE:
|
userInput
|
User input in case of prompt.
TYPE:
|
JAVASCRIPT_DIALOG_OPENING
class-attribute
instance-attribute
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to open.
PARAMETER | DESCRIPTION |
---|---|
url
|
Frame url.
TYPE:
|
frameId
|
Frame id.
TYPE:
|
message
|
Message that will be displayed by the dialog.
TYPE:
|
type
|
Dialog type.
TYPE:
|
hasBrowserHandler
|
True if browser is capable showing or acting on the given dialog. When browser has no dialog handler for given target, calling alert while Page domain is engaged will stall the page execution. Execution can be resumed via calling Page.handleJavaScriptDialog.
TYPE:
|
defaultPrompt
|
Default dialog prompt.
TYPE:
|
LIFECYCLE_EVENT
class-attribute
instance-attribute
Fired for lifecycle events (navigation, load, paint, etc) in the current target (including local frames).
PARAMETER | DESCRIPTION |
---|---|
frameId
|
Id of the frame.
TYPE:
|
loaderId
|
Loader identifier. Empty string if the request is fetched from worker.
TYPE:
|
name
|
Lifecycle event name.
TYPE:
|
timestamp
|
Timestamp when the event occurred.
TYPE:
|
LOAD_EVENT_FIRED
class-attribute
instance-attribute
Fired when the page load event has fired.
PARAMETER | DESCRIPTION |
---|---|
timestamp
|
Timestamp when the event occurred.
TYPE:
|
WINDOW_OPEN
class-attribute
instance-attribute
Fired when a new window is going to be opened, via window.open(), link click, form submission, etc.
PARAMETER | DESCRIPTION |
---|---|
url
|
The URL for the new window.
TYPE:
|
windowName
|
Window name.
TYPE:
|
windowFeatures
|
An array of enabled window features.
TYPE:
|
userGesture
|
Whether or not it was triggered by user gesture.
TYPE:
|
BACK_FORWARD_CACHE_NOT_USED
class-attribute
instance-attribute
Fired for failed bfcache history navigations if BackForwardCache feature is enabled. Do not assume any ordering with the Page.frameNavigated event. This event is fired only for main-frame history navigation where the document changes (non-same-document navigations), when bfcache navigation fails.
PARAMETER | DESCRIPTION |
---|---|
loaderId
|
The loader id for the associated navigation.
TYPE:
|
frameId
|
The frame id of the associated frame.
TYPE:
|
notRestoredExplanations
|
Array of reasons why the page could not be cached. This must not be empty.
TYPE:
|
notRestoredExplanationsTree
|
Tree structure of reasons why the page could not be cached for each frame.
TYPE:
|
COMPILATION_CACHE_PRODUCED
class-attribute
instance-attribute
Issued for every compilation cache generated. Is only available if Page.setGenerateCompilationCache is enabled.
PARAMETER | DESCRIPTION |
---|---|
url
|
The URL of the document whose compilation cache was produced.
TYPE:
|
data
|
Base64-encoded data (Encoded as a base64 string when passed over JSON).
TYPE:
|
DOCUMENT_OPENED
class-attribute
instance-attribute
Fired when opening document to write to.
PARAMETER | DESCRIPTION |
---|---|
frame
|
Frame object.
TYPE:
|
FRAME_REQUESTED_NAVIGATION
class-attribute
instance-attribute
Fired when a renderer-initiated navigation is requested. Navigation may still be cancelled after the event is issued.
PARAMETER | DESCRIPTION |
---|---|
frameId
|
Id of the frame that is being navigated.
TYPE:
|
reason
|
The reason for the navigation.
TYPE:
|
url
|
The destination URL for the requested navigation.
TYPE:
|
disposition
|
The disposition for the navigation.
TYPE:
|
FRAME_RESIZED
class-attribute
instance-attribute
Fired when frame has been resized.
FRAME_STARTED_LOADING
class-attribute
instance-attribute
Fired when frame has started loading.
PARAMETER | DESCRIPTION |
---|---|
frameId
|
Id of the frame that has started loading.
TYPE:
|
FRAME_STARTED_NAVIGATING
class-attribute
instance-attribute
Fired when a navigation starts. This event is fired for both renderer-initiated and browser-initiated navigations. For renderer-initiated navigations, the event is fired after frameRequestedNavigation. Navigation may still be cancelled after the event is issued. Multiple events can be fired for a single navigation, for example, when a same-document navigation becomes a cross-document navigation (such as in the case of a frameset).
PARAMETER | DESCRIPTION |
---|---|
frameId
|
ID of the frame that is being navigated.
TYPE:
|
url
|
The URL the navigation started with. The final URL can be different.
TYPE:
|
loaderId
|
Loader identifier. Even though it is present in case of same-document navigation, the previously committed loaderId would not change unless the navigation changes from a same-document to a cross-document navigation.
TYPE:
|
navigationType
|
Type of navigation. Allowed Values: reload, reloadBypassingCache, restore, restoreWithPost, historySameDocument, historyDifferentDocument, sameDocument, differentDocument
TYPE:
|
FRAME_STOPPED_LOADING
class-attribute
instance-attribute
Fired when frame has stopped loading.
PARAMETER | DESCRIPTION |
---|---|
frameId
|
Id of the frame that has stopped loading.
TYPE:
|
FRAME_SUBTREE_WILL_BE_DETACHED
class-attribute
instance-attribute
Fired before frame subtree is detached. Emitted before any frame of the subtree is actually detached.
PARAMETER | DESCRIPTION |
---|---|
frameId
|
Id of the frame that is the root of the subtree that will be detached.
TYPE:
|
NAVIGATED_WITHIN_DOCUMENT
class-attribute
instance-attribute
Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.
PARAMETER | DESCRIPTION |
---|---|
frameId
|
Id of the frame.
TYPE:
|
url
|
Frame's new url.
TYPE:
|
navigationType
|
Navigation type. Allowed Values: fragment, historyApi, other
TYPE:
|
SCREENCAST_FRAME
class-attribute
instance-attribute
Compressed image data requested by the startScreencast.
PARAMETER | DESCRIPTION |
---|---|
data
|
Base64-encoded compressed image.
TYPE:
|
metadata
|
Screencast frame metadata.
TYPE:
|
sessionId
|
Frame number.
TYPE:
|
Network Events
pydoll.protocol.network.events
NetworkEvent
Bases: str
, Enum
Events from the Network domain of the Chrome DevTools Protocol.
This enumeration contains the names of Network-related events that can be received from the Chrome DevTools Protocol. These events provide information about network activities, such as requests, responses, and WebSocket communications.
DATA_RECEIVED
class-attribute
instance-attribute
Fired when data chunk was received over the network.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
dataLength
|
Data chunk length.
TYPE:
|
encodedDataLength
|
Actual bytes received (might be less than dataLength for compressed encodings).
TYPE:
|
data
|
Data that was received. (Encoded as a base64 string when passed over JSON)
TYPE:
|
EVENT_SOURCE_MESSAGE_RECEIVED
class-attribute
instance-attribute
Fired when EventSource message is received.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
eventName
|
Message type.
TYPE:
|
eventId
|
Message identifier.
TYPE:
|
data
|
Message content.
TYPE:
|
LOADING_FAILED
class-attribute
instance-attribute
Fired when HTTP request has failed to load.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
type
|
Resource type.
TYPE:
|
errorText
|
Error message. List of network errors: https://cs.chromium.org/chromium/src/net/base/net_error_list.h
TYPE:
|
canceled
|
True if loading was canceled.
TYPE:
|
blockedReason
|
The reason why loading was blocked, if any.
TYPE:
|
corsErrorStatus
|
The reason why loading was blocked by CORS, if any.
TYPE:
|
LOADING_FINISHED
class-attribute
instance-attribute
Fired when HTTP request has finished loading.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
encodedDataLength
|
Total number of bytes received for this request.
TYPE:
|
REQUEST_SERVED_FROM_CACHE
class-attribute
instance-attribute
Fired if request ended up loading from cache.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier.
TYPE:
|
REQUEST_WILL_BE_SENT
class-attribute
instance-attribute
Fired when page is about to send HTTP request.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier.
TYPE:
|
loaderId
|
Loader identifier. Empty string if the request is fetched from worker.
TYPE:
|
documentURL
|
URL of the document this request is loaded for.
TYPE:
|
request
|
Request data.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
wallTime
|
Timestamp.
TYPE:
|
initiator
|
Request initiator.
TYPE:
|
redirectHasExtraInfo
|
In the case that redirectResponse is populated, this flag indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted for the request which was just redirected.
TYPE:
|
redirectResponse
|
Redirect response data.
TYPE:
|
type
|
Type of this resource.
TYPE:
|
frameId
|
Frame identifier.
TYPE:
|
hasUserGesture
|
Whether the request is initiated by a user gesture. Defaults to false.
TYPE:
|
RESPONSE_RECEIVED
class-attribute
instance-attribute
Fired when HTTP response is available.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier.
TYPE:
|
loaderId
|
Loader identifier. Empty string if the request is fetched from worker.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
type
|
Resource type.
TYPE:
|
response
|
Response data.
TYPE:
|
hasExtraInfo
|
Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted for this request.
TYPE:
|
frameId
|
Frame identifier.
TYPE:
|
WEBSOCKET_CLOSED
class-attribute
instance-attribute
Fired when WebSocket is closed.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
WEBSOCKET_CREATED
class-attribute
instance-attribute
Fired upon WebSocket creation.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier.
TYPE:
|
url
|
WebSocket request URL.
TYPE:
|
initiator
|
Request initiator.
TYPE:
|
WEBSOCKET_FRAME_ERROR
class-attribute
instance-attribute
Fired when WebSocket message error occurs.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
errorMessage
|
WebSocket error message.
TYPE:
|
WEBSOCKET_FRAME_RECEIVED
class-attribute
instance-attribute
Fired when WebSocket message is received.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
response
|
WebSocket response data.
TYPE:
|
WEBSOCKET_FRAME_SENT
class-attribute
instance-attribute
Fired when WebSocket message is sent.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
response
|
WebSocket response data.
TYPE:
|
WEBSOCKET_HANDSHAKE_RESPONSE_RECEIVED
class-attribute
instance-attribute
Fired when WebSocket handshake response becomes available.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
response
|
WebSocket response data.
TYPE:
|
WEBSOCKET_WILL_SEND_HANDSHAKE_REQUEST
class-attribute
instance-attribute
Fired when WebSocket is about to initiate handshake.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
wallTime
|
UTC Timestamp.
TYPE:
|
request
|
WebSocket request data.
TYPE:
|
WEBTRANSPORT_CLOSED
class-attribute
instance-attribute
Fired when WebTransport is disposed.
PARAMETER | DESCRIPTION |
---|---|
transportId
|
WebTransport identifier.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
WEBTRANSPORT_CONNECTION_ESTABLISHED
class-attribute
instance-attribute
Fired when WebTransport handshake is finished.
PARAMETER | DESCRIPTION |
---|---|
transportId
|
WebTransport identifier.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
WEBTRANSPORT_CREATED
class-attribute
instance-attribute
Fired upon WebTransport creation.
PARAMETER | DESCRIPTION |
---|---|
transportId
|
WebTransport identifier.
TYPE:
|
url
|
WebTransport request URL.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
initiator
|
Request initiator.
TYPE:
|
DIRECT_TCP_SOCKET_ABORTED
class-attribute
instance-attribute
Fired when direct_socket.TCPSocket is aborted.
PARAMETER | DESCRIPTION |
---|---|
identifier
|
Request identifier.
TYPE:
|
errorMessage
|
Error message.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
DIRECT_TCP_SOCKET_CHUNK_RECEIVED
class-attribute
instance-attribute
Fired when data is received from tcp direct socket stream.
PARAMETER | DESCRIPTION |
---|---|
identifier
|
Request identifier.
TYPE:
|
data
|
Data received.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
DIRECT_TCP_SOCKET_CHUNK_SENT
class-attribute
instance-attribute
Fired when data is sent to tcp direct socket stream.
PARAMETER | DESCRIPTION |
---|---|
identifier
|
Request identifier.
TYPE:
|
data
|
Data sent.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
DIRECT_TCP_SOCKET_CLOSED
class-attribute
instance-attribute
Fired when direct_socket.TCPSocket is closed.
PARAMETER | DESCRIPTION |
---|---|
identifier
|
Request identifier.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
DIRECT_TCP_SOCKET_CREATED
class-attribute
instance-attribute
Fired upon direct_socket.TCPSocket creation.
PARAMETER | DESCRIPTION |
---|---|
identifier
|
Request identifier.
TYPE:
|
remoteAddr
|
Remote address.
TYPE:
|
remotePort
|
Remote port. Unsigned int 16.
TYPE:
|
options
|
Socket options.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
initiator
|
Request initiator.
TYPE:
|
DIRECT_TCP_SOCKET_OPENED
class-attribute
instance-attribute
Fired when direct_socket.TCPSocket connection is opened.
PARAMETER | DESCRIPTION |
---|---|
identifier
|
Request identifier.
TYPE:
|
remoteAddr
|
Remote address.
TYPE:
|
remotePort
|
Remote port. Expected to be unsigned integer.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
localAddr
|
Local address.
TYPE:
|
localPort
|
Local port. Expected to be unsigned integer.
TYPE:
|
DIRECT_UDP_SOCKET_ABORTED
class-attribute
instance-attribute
Fired when direct_socket.UDPSocket is aborted.
PARAMETER | DESCRIPTION |
---|---|
identifier
|
Request identifier.
TYPE:
|
errorMessage
|
Error message.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
DIRECT_UDP_SOCKET_CHUNK_RECEIVED
class-attribute
instance-attribute
Fired when message is received from udp direct socket stream.
PARAMETER | DESCRIPTION |
---|---|
identifier
|
Request identifier.
TYPE:
|
message
|
Message data.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
DIRECT_UDP_SOCKET_CHUNK_SENT
class-attribute
instance-attribute
Fired when message is sent to udp direct socket stream.
PARAMETER | DESCRIPTION |
---|---|
identifier
|
Request identifier.
TYPE:
|
message
|
Message data.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
DIRECT_UDP_SOCKET_CLOSED
class-attribute
instance-attribute
Fired when direct_socket.UDPSocket is closed.
PARAMETER | DESCRIPTION |
---|---|
identifier
|
Request identifier.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
DIRECT_UDP_SOCKET_CREATED
class-attribute
instance-attribute
Fired upon direct_socket.UDPSocket creation.
PARAMETER | DESCRIPTION |
---|---|
identifier
|
Request identifier.
TYPE:
|
options
|
Socket options.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
initiator
|
Request initiator.
TYPE:
|
DIRECT_UDP_SOCKET_OPENED
class-attribute
instance-attribute
Fired when direct_socket.UDPSocket connection is opened.
PARAMETER | DESCRIPTION |
---|---|
identifier
|
Request identifier.
TYPE:
|
localAddr
|
Local address.
TYPE:
|
localPort
|
Local port. Expected to be unsigned integer.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
remoteAddr
|
Remote address.
TYPE:
|
remotePort
|
Remote port. Expected to be unsigned integer.
TYPE:
|
POLICY_UPDATED
class-attribute
instance-attribute
Fired once security policy has been updated.
REPORTING_API_ENDPOINTS_CHANGED_FOR_ORIGIN
class-attribute
instance-attribute
Fired when Reporting API endpoints change for an origin.
PARAMETER | DESCRIPTION |
---|---|
origin
|
Origin of the document(s) which configured the endpoints.
TYPE:
|
endpoints
|
The endpoints configured for the origin.
TYPE:
|
REPORTING_API_REPORT_ADDED
class-attribute
instance-attribute
Is sent whenever a new report is added. And after 'enableReportingApi' for all existing reports.
PARAMETER | DESCRIPTION |
---|---|
report
|
The report that was added.
TYPE:
|
REPORTING_API_REPORT_UPDATED
class-attribute
instance-attribute
Fired when a report is updated.
PARAMETER | DESCRIPTION |
---|---|
report
|
The report that was updated.
TYPE:
|
REQUEST_WILL_BE_SENT_EXTRA_INFO
class-attribute
instance-attribute
Fired when additional information about a requestWillBeSent event is available from the network stack. Not every requestWillBeSent event will have an additional requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent or requestWillBeSentExtraInfo will be fired first for the same request.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier. Used to match this information to an existing requestWillBeSent event.
TYPE:
|
associatedCookies
|
A list of cookies potentially associated to the requested URL. This includes both cookies sent with the request and the ones not sent; the latter are distinguished by having blockedReasons field set.
TYPE:
|
headers
|
Raw request headers as they will be sent over the wire.
TYPE:
|
connectTiming
|
Connection timing information for the request.
TYPE:
|
clientSecurityState
|
The client security state set for the request.
TYPE:
|
siteHasCookieInOtherPartition
|
Whether the site has partitioned cookies stored in a partition different than the current one.
TYPE:
|
RESOURCE_CHANGED_PRIORITY
class-attribute
instance-attribute
Fired when resource loading priority is changed.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier.
TYPE:
|
newPriority
|
New priority.
TYPE:
|
timestamp
|
Timestamp.
TYPE:
|
RESPONSE_RECEIVED_EARLY_HINTS
class-attribute
instance-attribute
Fired when 103 Early Hints headers is received in addition to the common response. Not every responseReceived event will have an responseReceivedEarlyHints fired. Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier. Used to match this information to another responseReceived event.
TYPE:
|
headers
|
Raw response headers as they were received over the wire. Duplicate headers in the response are represented as a single key with their values concatentated using \n as the separator. See also headersText that contains verbatim text for HTTP/1.*.
TYPE:
|
RESPONSE_RECEIVED_EXTRA_INFO
class-attribute
instance-attribute
Fired when additional information about a responseReceived event is available from the network stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for it, and responseReceivedExtraInfo may be fired before or after responseReceived.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier. Used to match this information to another responseReceived event.
TYPE:
|
blockedCookies
|
A list of cookies which were not stored from the response along with the corresponding reasons for blocking. The cookies here may not be valid due to syntax errors, which are represented by the invalid cookie line string instead of a proper cookie.
TYPE:
|
headers
|
Raw response headers as they were received over the wire. Duplicate headers in the response are represented as a single key with their values concatentated using \n as the separator. See also headersText that contains verbatim text for HTTP/1.*.
TYPE:
|
resourceIPAddressSpace
|
The IP address space of the resource. The address space can only be determined once the transport established the connection, so we can't send it in requestWillBeSentExtraInfo.
TYPE:
|
statusCode
|
The status code of the response. This is useful in cases the request failed and no responseReceived event is triggered, which is the case for, e.g., CORS errors. This is also the correct status code for cached requests, where the status in responseReceived is a 200 and this will be 304.
TYPE:
|
headersText
|
Raw response header text as it was received over the wire. The raw text may not always be available, such as in the case of HTTP/2 or QUIC.
TYPE:
|
cookiePartitionKey
|
The cookie partition key that will be used to store partitioned cookies set in this response. Only sent when partitioned cookies are enabled.
TYPE:
|
cookiePartitionKeyOpaque
|
True if partitioned cookies are enabled, but the partition key is not serializable to string.
TYPE:
|
exemptedCookies
|
A list of cookies which should have been blocked by 3PCD but are exempted and stored from the response with the corresponding reason.
TYPE:
|
SIGNED_EXCHANGE_RECEIVED
class-attribute
instance-attribute
Fired when a signed exchange was received over the network.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier.
TYPE:
|
info
|
Information about the signed exchange response.
TYPE:
|
SUBRESOURCE_WEB_BUNDLE_INNER_RESPONSE_ERROR
class-attribute
instance-attribute
Fired when request for resources within a .wbn file failed.
PARAMETER | DESCRIPTION |
---|---|
innerRequestId
|
Request identifier of the subresource request.
TYPE:
|
innerRequestURL
|
URL of the subresource resource.
TYPE:
|
errorMessage
|
Error message.
TYPE:
|
bundleRequestId
|
Bundle request identifier. Used to match this information to another event. This made be absent in case when the instrumentation was enabled only after webbundle was parsed.
TYPE:
|
SUBRESOURCE_WEB_BUNDLE_INNER_RESPONSE_PARSED
class-attribute
instance-attribute
Fired when handling requests for resources within a .wbn file. Note: this will only be fired for resources that are requested by the webpage.
PARAMETER | DESCRIPTION |
---|---|
innerRequestId
|
Request identifier of the subresource request.
TYPE:
|
innerRequestURL
|
URL of the subresource resource.
TYPE:
|
bundleRequestId
|
Bundle request identifier. Used to match this information to another event. This made be absent in case when the instrumentation was enabled only after webbundle was parsed.
TYPE:
|
SUBRESOURCE_WEB_BUNDLE_METADATA_ERROR
class-attribute
instance-attribute
Fired once when parsing the .wbn file has failed.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier. Used to match this information to another event.
TYPE:
|
errorMessage
|
Error message.
TYPE:
|
SUBRESOURCE_WEB_BUNDLE_METADATA_RECEIVED
class-attribute
instance-attribute
Fired once when parsing the .wbn file has succeeded. The event contains the information about the web bundle contents.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Request identifier. Used to match this information to another event.
TYPE:
|
urls
|
A list of URLs of resources in the subresource Web Bundle.
TYPE:
|
TRUST_TOKEN_OPERATION_DONE
class-attribute
instance-attribute
Fired exactly once for each Trust Token operation. Depending on the type of the operation and whether the operation succeeded or failed, the event is fired before the corresponding request was sent or after the response was received.
PARAMETER | DESCRIPTION |
---|---|
status
|
Detailed success or error status of the operation. Allowed Values: Ok, InvalidArgument, MissingIssuerKeys, FailedPrecondition, ResourceExhausted, AlreadyExists, ResourceLimited, Unauthorized, BadResponse, InternalError, UnknownError, FulfilledLocally, SiteIssuerLimit
TYPE:
|
type
|
Type of Trust Token operation.
TYPE:
|
requestId
|
Request identifier.
TYPE:
|
topLevelOrigin
|
Top level origin. The context in which the operation was attempted.
TYPE:
|
issuerOrigin
|
Origin of the issuer in case of a "Issuance" or "Redemption" operation.
TYPE:
|
issuedTokenCount
|
The number of obtained Trust Tokens on a successful "Issuance" operation.
TYPE:
|
DOM Events
pydoll.protocol.dom.events
DomEvent
Bases: str
, Enum
Events from the DOM domain of the Chrome DevTools Protocol.
This enumeration contains the names of DOM-related events that can be received from the Chrome DevTools Protocol. These events provide information about changes to the DOM structure, attributes, and other DOM-related activities.
ATTRIBUTE_MODIFIED
class-attribute
instance-attribute
Fired when Element's attribute is modified.
PARAMETER | DESCRIPTION |
---|---|
nodeId
|
Id of the node that has changed.
TYPE:
|
name
|
Attribute name.
TYPE:
|
value
|
Attribute value.
TYPE:
|
ATTRIBUTE_REMOVED
class-attribute
instance-attribute
Fired when Element's attribute is removed.
PARAMETER | DESCRIPTION |
---|---|
nodeId
|
Id of the node that has changed.
TYPE:
|
name
|
Attribute name.
TYPE:
|
CHARACTER_DATA_MODIFIED
class-attribute
instance-attribute
Mirrors DOMCharacterDataModified event.
PARAMETER | DESCRIPTION |
---|---|
nodeId
|
Id of the node that has changed.
TYPE:
|
characterData
|
New text value.
TYPE:
|
CHILD_NODE_COUNT_UPDATED
class-attribute
instance-attribute
Fired when Container's child node count has changed.
PARAMETER | DESCRIPTION |
---|---|
nodeId
|
Id of the node that has changed.
TYPE:
|
childNodeCount
|
New node count.
TYPE:
|
CHILD_NODE_INSERTED
class-attribute
instance-attribute
Mirrors DOMNodeInserted event.
PARAMETER | DESCRIPTION |
---|---|
parentNodeId
|
Id of the node that has changed.
TYPE:
|
previousNodeId
|
Id of the previous sibling.
TYPE:
|
node
|
Inserted node data.
TYPE:
|
CHILD_NODE_REMOVED
class-attribute
instance-attribute
Mirrors DOMNodeRemoved event.
PARAMETER | DESCRIPTION |
---|---|
parentNodeId
|
Parent id.
TYPE:
|
nodeId
|
Id of the node that has been removed.
TYPE:
|
DOCUMENT_UPDATED
class-attribute
instance-attribute
Fired when Document has been totally updated. Node ids are no longer valid.
SET_CHILD_NODES
class-attribute
instance-attribute
Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node ids.
PARAMETER | DESCRIPTION |
---|---|
parentId
|
Parent node id to populate with children.
TYPE:
|
nodes
|
Child nodes array.
TYPE:
|
DISTRIBUTED_NODES_UPDATED
class-attribute
instance-attribute
Called when distribution is changed.
PARAMETER | DESCRIPTION |
---|---|
insertionPointId
|
Insertion point where distributed nodes were updated.
TYPE:
|
distributedNodes
|
Distributed nodes for given insertion point.
TYPE:
|
INLINE_STYLE_INVALIDATED
class-attribute
instance-attribute
Fired when Element's inline style is modified via a CSS property modification.
PARAMETER | DESCRIPTION |
---|---|
nodeIds
|
Ids of the nodes for which the inline styles have been invalidated.
TYPE:
|
PSEUDO_ELEMENT_ADDED
class-attribute
instance-attribute
Called when a pseudo element is added to an element.
PARAMETER | DESCRIPTION |
---|---|
parentId
|
Pseudo element's parent element id.
TYPE:
|
pseudoElement
|
The added pseudo element.
TYPE:
|
PSEUDO_ELEMENT_REMOVED
class-attribute
instance-attribute
Called when a pseudo element is removed from an element.
PARAMETER | DESCRIPTION |
---|---|
parentId
|
Pseudo element's parent element id.
TYPE:
|
pseudoElementId
|
The removed pseudo element id.
TYPE:
|
SCROLLABLE_FLAG_UPDATED
class-attribute
instance-attribute
Fired when a node's scrollability state changes.
PARAMETER | DESCRIPTION |
---|---|
nodeId
|
The id of the node.
TYPE:
|
isScrollable
|
If the node is scrollable.
TYPE:
|
SHADOW_ROOT_POPPED
class-attribute
instance-attribute
Called when shadow root is popped from the element.
PARAMETER | DESCRIPTION |
---|---|
hostId
|
Host element id.
TYPE:
|
rootId
|
Shadow root id.
TYPE:
|
SHADOW_ROOT_PUSHED
class-attribute
instance-attribute
Called when shadow root is pushed into the element.
PARAMETER | DESCRIPTION |
---|---|
hostId
|
Host element id.
TYPE:
|
root
|
Shadow root.
TYPE:
|
Runtime Events
pydoll.protocol.runtime.events
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
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:
|
args
|
Call arguments.
TYPE:
|
executionContextId
|
Identifier of the context where the call was made.
TYPE:
|
timestamp
|
Call timestamp.
TYPE:
|
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:
|
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:
|
EXCEPTION_REVOKED
class-attribute
instance-attribute
Issued when unhandled exception was revoked.
PARAMETER | DESCRIPTION |
---|---|
reason
|
Reason describing why exception was revoked.
TYPE:
|
exceptionId
|
The id of revoked exception, as reported in exceptionThrown.
TYPE:
|
EXCEPTION_THROWN
class-attribute
instance-attribute
Issued when exception was thrown and unhandled.
PARAMETER | DESCRIPTION |
---|---|
timestamp
|
Timestamp of the exception.
TYPE:
|
exceptionDetails
|
Details about the exception.
TYPE:
|
EXECUTION_CONTEXT_CREATED
class-attribute
instance-attribute
Issued when new execution context is created.
PARAMETER | DESCRIPTION |
---|---|
context
|
A newly created execution context.
TYPE:
|
EXECUTION_CONTEXT_DESTROYED
class-attribute
instance-attribute
Issued when execution context is destroyed.
PARAMETER | DESCRIPTION |
---|---|
executionContextId
|
Id of the destroyed context.
TYPE:
|
executionContextUniqueId
|
Unique Id of the destroyed context.
TYPE:
|
EXECUTION_CONTEXTS_CLEARED
class-attribute
instance-attribute
Issued when all executionContexts were cleared in browser.
INSPECT_REQUESTED
class-attribute
instance-attribute
Issued when object should be inspected (for example, as a result of inspect() command line API call).
PARAMETER | DESCRIPTION |
---|---|
object
|
Object to inspect.
TYPE:
|
hints
|
Hints.
TYPE:
|
executionContextId
|
Identifier of the context where the call was made.
TYPE:
|
BINDING_CALLED
class-attribute
instance-attribute
Notification is issued every time when binding is called.
PARAMETER | DESCRIPTION |
---|---|
name
|
Name of the binding.
TYPE:
|
payload
|
Payload of the binding.
TYPE:
|
executionContextId
|
Identifier of the context where the call was made.
TYPE:
|
Fetch Events
pydoll.protocol.fetch.events
FetchEvent
Bases: str
, Enum
Events from the Fetch domain of the Chrome DevTools Protocol.
This enumeration contains the names of Fetch-related events that can be received from the Chrome DevTools Protocol. These events provide information about network requests that can be intercepted, modified, or responded to by the client.
AUTH_REQUIRED
class-attribute
instance-attribute
Issued when the domain is enabled with handleAuthRequests set to true. The request is paused until client responds with continueWithAuth.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Each request the page makes will have a unique id.
TYPE:
|
request
|
The details of the request.
TYPE:
|
frameId
|
The id of the frame that initiated the request.
TYPE:
|
resourceType
|
How the requested resource will be used.
TYPE:
|
authChallenge
|
Details of the Authorization Challenge encountered. If this is set, client should respond with continueRequest that contains AuthChallengeResponse.
TYPE:
|
REQUEST_PAUSED
class-attribute
instance-attribute
Issued when the domain is enabled and the request URL matches the specified filter.
The request is paused until the client responds with one of continueRequest, failRequest or fulfillRequest. The stage of the request can be determined by presence of responseErrorReason and responseStatusCode -- the request is at the response stage if either of these fields is present and in the request stage otherwise.
Redirect responses and subsequent requests are reported similarly to regular responses and requests. Redirect responses may be distinguished by the value of responseStatusCode (which is one of 301, 302, 303, 307, 308) along with presence of the location header. Requests resulting from a redirect will have redirectedRequestId field set.
PARAMETER | DESCRIPTION |
---|---|
requestId
|
Each request the page makes will have a unique id.
TYPE:
|
request
|
The details of the request.
TYPE:
|
frameId
|
The id of the frame that initiated the request.
TYPE:
|
resourceType
|
How the requested resource will be used.
TYPE:
|
responseErrorReason
|
Response error if intercepted at response stage.
TYPE:
|
responseStatusCode
|
Response code if intercepted at response stage.
TYPE:
|
responseStatusText
|
Response status text if intercepted at response stage.
TYPE:
|
responseHeaders
|
Response headers if intercepted at the response stage.
TYPE:
|
networkId
|
If the intercepted request had a corresponding Network.requestWillBeSent event fired for it, then this networkId will be the same as the requestId present in the requestWillBeSent event.
TYPE:
|
redirectedRequestId
|
If the request is due to a redirect response from the server, the id of the request that has caused the redirect.
TYPE:
|
Browser Events
pydoll.protocol.browser.events
BrowserEvent
Bases: str
, Enum
Events from the Browser domain of the Chrome DevTools Protocol.
This enumeration contains the names of browser-related events that can be received from the Chrome DevTools Protocol. These events provide information about browser activities and state changes.
DOWNLOAD_PROGRESS
class-attribute
instance-attribute
Fired when download makes progress. The last call has |done| == true.
PARAMETER | DESCRIPTION |
---|---|
guid
|
Global unique identifier of the download.
TYPE:
|
totalBytes
|
Total expected bytes to download.
TYPE:
|
receivedBytes
|
Total bytes received.
TYPE:
|
state
|
Download status. Allowed values: 'inProgress', 'completed', 'canceled'
TYPE:
|
DOWNLOAD_WILL_BEGIN
class-attribute
instance-attribute
Fired when page is about to start a download.
PARAMETER | DESCRIPTION |
---|---|
frameId
|
Id of the frame that caused the download to begin.
TYPE:
|
guid
|
Global unique identifier of the download.
TYPE:
|
url
|
URL of the resource being downloaded.
TYPE:
|
suggestedFilename
|
Suggested file name of the resource (the actual name of the file saved on disk may differ).
TYPE:
|
Target Events
pydoll.protocol.target.events
TargetEvent
Bases: str
, Enum
Events from the Target domain of the Chrome DevTools Protocol.
This enumeration contains the names of Target-related events that can be received from the Chrome DevTools Protocol. These events provide information about target creation, destruction, and communication between targets.
RECEIVED_MESSAGE_FROM_TARGET
class-attribute
instance-attribute
Notifies about a new protocol message received from the session (as reported in attachedToTarget event).
PARAMETER | DESCRIPTION |
---|---|
sessionId
|
Identifier of a session which sends a message.
TYPE:
|
message
|
The message content.
TYPE:
|
targetId
|
Deprecated.
TYPE:
|
TARGET_CRASHED
class-attribute
instance-attribute
Issued when a target has crashed.
PARAMETER | DESCRIPTION |
---|---|
targetId
|
Identifier of the crashed target.
TYPE:
|
status
|
Termination status type.
TYPE:
|
errorCode
|
Termination error code.
TYPE:
|
TARGET_CREATED
class-attribute
instance-attribute
Issued when a possible inspection target is created.
PARAMETER | DESCRIPTION |
---|---|
targetInfo
|
Information about the created target.
TYPE:
|
TARGET_DESTROYED
class-attribute
instance-attribute
Issued when a target is destroyed.
PARAMETER | DESCRIPTION |
---|---|
targetId
|
Identifier of the destroyed target.
TYPE:
|
TARGET_INFO_CHANGED
class-attribute
instance-attribute
Issued when some information about a target has changed. This only happens between targetCreated and targetDestroyed.
PARAMETER | DESCRIPTION |
---|---|
targetInfo
|
Updated information about the target.
TYPE:
|
ATTACHED_TO_TARGET
class-attribute
instance-attribute
Issued when attached to target because of auto-attach or attachToTarget command.
PARAMETER | DESCRIPTION |
---|---|
sessionId
|
Identifier assigned to the session used to send/receive messages.
TYPE:
|
targetInfo
|
Information about the target.
TYPE:
|
waitingForDebugger
|
Whether the target is waiting for debugger to attach.
TYPE:
|
DETACHED_FROM_TARGET
class-attribute
instance-attribute
Issued when detached from target for any reason (including detachFromTarget command). Can be issued multiple times per target if multiple sessions have been attached to it.
PARAMETER | DESCRIPTION |
---|---|
sessionId
|
Detached session identifier.
TYPE:
|
targetId
|
Deprecated.
TYPE:
|
Storage Events
pydoll.protocol.storage.events
StorageEvent
Bases: str
, Enum
Events from the Storage domain of the Chrome DevTools Protocol.
This enumeration contains the names of Storage-related events that can be received from the Chrome DevTools Protocol. These events provide information about changes to various browser storage mechanisms including Cache Storage, IndexedDB, Interest Groups, Shared Storage, and Storage Buckets.
CACHE_STORAGE_CONTENT_UPDATED
class-attribute
instance-attribute
A cache's contents have been modified.
PARAMETER | DESCRIPTION |
---|---|
origin
|
Origin to update.
TYPE:
|
storageKey
|
Storage key to update.
TYPE:
|
bucketId
|
Storage bucket to update.
TYPE:
|
cacheName
|
Name of cache in origin.
TYPE:
|
CACHE_STORAGE_LIST_UPDATED
class-attribute
instance-attribute
A cache has been added/deleted.
PARAMETER | DESCRIPTION |
---|---|
origin
|
Origin to update.
TYPE:
|
storageKey
|
Storage key to update.
TYPE:
|
bucketId
|
Storage bucket to update.
TYPE:
|
INDEXED_DB_CONTENT_UPDATED
class-attribute
instance-attribute
The origin's IndexedDB object store has been modified.
PARAMETER | DESCRIPTION |
---|---|
origin
|
Origin to update.
TYPE:
|
storageKey
|
Storage key to update.
TYPE:
|
bucketId
|
Storage bucket to update.
TYPE:
|
databaseName
|
Database to update.
TYPE:
|
objectStoreName
|
ObjectStore to update.
TYPE:
|
INDEXED_DB_LIST_UPDATED
class-attribute
instance-attribute
The origin's IndexedDB database list has been modified.
PARAMETER | DESCRIPTION |
---|---|
origin
|
Origin to update.
TYPE:
|
storageKey
|
Storage key to update.
TYPE:
|
bucketId
|
Storage bucket to update.
TYPE:
|
INTEREST_GROUP_ACCESSED
class-attribute
instance-attribute
One of the interest groups was accessed. Note that these events are global to all targets sharing an interest group store.
PARAMETER | DESCRIPTION |
---|---|
accessTime
|
Time of the access.
TYPE:
|
type
|
Type of access.
TYPE:
|
ownerOrigin
|
Owner origin.
TYPE:
|
name
|
Name of the interest group.
TYPE:
|
componentSellerOrigin
|
For topLevelBid/topLevelAdditionalBid, and when appropriate, win and additionalBidWin.
TYPE:
|
bid
|
For bid or somethingBid event, if done locally and not on a server.
TYPE:
|
bidCurrency
|
Currency of the bid.
TYPE:
|
uniqueAuctionId
|
For non-global events --- links to interestGroupAuctionEvent.
TYPE:
|
INTEREST_GROUP_AUCTION_EVENT_OCCURRED
class-attribute
instance-attribute
An auction involving interest groups is taking place. These events are target-specific.
PARAMETER | DESCRIPTION |
---|---|
eventTime
|
Time of the event.
TYPE:
|
type
|
Type of auction event.
TYPE:
|
uniqueAuctionId
|
Unique identifier for the auction.
TYPE:
|
parentAuctionId
|
Set for child auctions.
TYPE:
|
auctionConfig
|
Set for started and configResolved.
TYPE:
|
INTEREST_GROUP_AUCTION_NETWORK_REQUEST_CREATED
class-attribute
instance-attribute
INTEREST_GROUP_AUCTION_NETWORK_REQUEST_CREATED = 'Storage.interestGroupAuctionNetworkRequestCreated'
Specifies which auctions a particular network fetch may be related to, and in what role. Note that it is not ordered with respect to Network.requestWillBeSent (but will happen before loadingFinished loadingFailed).
PARAMETER | DESCRIPTION |
---|---|
type
|
Type of fetch.
TYPE:
|
requestId
|
Request identifier.
TYPE:
|
auctions
|
This is the set of the auctions using the worklet that issued this request. In the case of trusted signals, it's possible that only some of them actually care about the keys being queried.
TYPE:
|
SHARED_STORAGE_ACCESSED
class-attribute
instance-attribute
Shared storage was accessed by the associated page. The following parameters are included in all events.
PARAMETER | DESCRIPTION |
---|---|
accessTime
|
Time of the access.
TYPE:
|
scope
|
Enum value indicating the access scope.
TYPE:
|
method
|
Enum value indicating the Shared Storage API method invoked.
TYPE:
|
mainFrameId
|
DevTools Frame Token for the primary frame tree's root.
TYPE:
|
ownerOrigin
|
Serialization of the origin owning the Shared Storage data.
TYPE:
|
ownerSite
|
Serialization of the site owning the Shared Storage data.
TYPE:
|
params
|
The sub-parameters wrapped by params are all optional and their presence/absence depends on type.
TYPE:
|
SHARED_STORAGE_WORKLET_OPERATION_EXECUTION_FINISHED
class-attribute
instance-attribute
SHARED_STORAGE_WORKLET_OPERATION_EXECUTION_FINISHED = 'Storage.sharedStorageWorkletOperationExecutionFinished'
A shared storage run or selectURL operation finished its execution. The following parameters are included in all events.
PARAMETER | DESCRIPTION |
---|---|
finishedTime
|
Time that the operation finished.
TYPE:
|
executionTime
|
Time, in microseconds, from start of shared storage JS API call until end of operation execution in the worklet.
TYPE:
|
method
|
Enum value indicating the Shared Storage API method invoked.
TYPE:
|
operationId
|
ID of the operation call.
TYPE:
|
workletTargetId
|
Hex representation of the DevTools token used as the TargetID for the associated shared storage worklet.
TYPE:
|
mainFrameId
|
DevTools Frame Token for the primary frame tree's root.
TYPE:
|
ownerOrigin
|
Serialization of the origin owning the Shared Storage data.
TYPE:
|
STORAGE_BUCKET_CREATED_OR_UPDATED
class-attribute
instance-attribute
Fired when a storage bucket is created or updated.
PARAMETER | DESCRIPTION |
---|---|
bucketInfo
|
Information about the storage bucket.
TYPE:
|
STORAGE_BUCKET_DELETED
class-attribute
instance-attribute
Fired when a storage bucket is deleted.
PARAMETER | DESCRIPTION |
---|---|
bucketId
|
ID of the deleted storage bucket.
TYPE:
|
ATTRIBUTION_REPORTING_REPORT_SENT
class-attribute
instance-attribute
Fired when an attribution report is sent.
PARAMETER | DESCRIPTION |
---|---|
url
|
URL the report was sent to.
TYPE:
|
body
|
Body of the report.
TYPE:
|
result
|
Result of the report sending.
TYPE:
|
netError
|
If result is sent, populated with net/HTTP status.
TYPE:
|
netErrorName
|
Name of the network error if any.
TYPE:
|
httpStatusCode
|
HTTP status code if available.
TYPE:
|
ATTRIBUTION_REPORTING_SOURCE_REGISTERED
class-attribute
instance-attribute
Fired when an attribution source is registered.
PARAMETER | DESCRIPTION |
---|---|
registration
|
Registration details.
TYPE:
|
result
|
Result of the registration.
TYPE:
|
ATTRIBUTION_REPORTING_TRIGGER_REGISTERED
class-attribute
instance-attribute
Fired when an attribution trigger is registered.
PARAMETER | DESCRIPTION |
---|---|
registration
|
Registration details.
TYPE:
|
eventLevel
|
Event level result.
TYPE:
|
aggregatable
|
Aggregatable result.
TYPE:
|
Input Events
pydoll.protocol.input.events
InputEvent
Bases: str
, Enum
Events from the Input domain of the Chrome DevTools Protocol.
This enumeration contains the names of Input-related events that can be received from the Chrome DevTools Protocol. These events provide information about user input interactions that can be intercepted or simulated.
DRAG_INTERCEPTED
class-attribute
instance-attribute
Emitted only when Input.setInterceptDrags is enabled. Use this data with Input.dispatchDragEvent to restore normal drag and drop behavior.
PARAMETER | DESCRIPTION |
---|---|
data
|
Contains information about the dragged data.
TYPE:
|