Page Protocol
Page domain commands, events and types for Chrome DevTools Protocol.
Methods
pydoll.protocol.page.methods
AddScriptToEvaluateOnLoadResponse
module-attribute
AddScriptToEvaluateOnLoadResponse = Response[AddScriptToEvaluateOnLoadResult]
AddScriptToEvaluateOnNewDocumentResponse
module-attribute
AddScriptToEvaluateOnNewDocumentResponse = Response[AddScriptToEvaluateOnNewDocumentResult]
CaptureScreenshotResponse
module-attribute
CaptureScreenshotResponse = Response[CaptureScreenshotResult]
CreateIsolatedWorldResponse
module-attribute
CreateIsolatedWorldResponse = Response[CreateIsolatedWorldResult]
GetAdScriptAncestryIdsResponse
module-attribute
GetAdScriptAncestryIdsResponse = Response[GetAdScriptAncestryIdsResult]
GetAdScriptAncestryResponse
module-attribute
GetAdScriptAncestryResponse = Response[GetAdScriptAncestryResult]
GetInstallabilityErrorsResponse
module-attribute
GetInstallabilityErrorsResponse = Response[GetInstallabilityErrorsResult]
GetLayoutMetricsResponse
module-attribute
GetLayoutMetricsResponse = Response[GetLayoutMetricsResult]
GetManifestIconsResponse
module-attribute
GetManifestIconsResponse = Response[GetManifestIconsResult]
GetNavigationHistoryResponse
module-attribute
GetNavigationHistoryResponse = Response[GetNavigationHistoryResult]
GetPermissionsPolicyStateResponse
module-attribute
GetPermissionsPolicyStateResponse = Response[GetPermissionsPolicyStateResult]
GetResourceContentResponse
module-attribute
GetResourceContentResponse = Response[GetResourceContentResult]
SearchInResourceResponse
module-attribute
SearchInResourceResponse = Response[SearchInResourceResult]
AddCompilationCacheCommand
module-attribute
AddCompilationCacheCommand = Command[AddCompilationCacheParams, EmptyResponse]
AddScriptToEvaluateOnLoadCommand
module-attribute
AddScriptToEvaluateOnLoadCommand = Command[AddScriptToEvaluateOnLoadParams, AddScriptToEvaluateOnLoadResponse]
AddScriptToEvaluateOnNewDocumentCommand
module-attribute
AddScriptToEvaluateOnNewDocumentCommand = Command[AddScriptToEvaluateOnNewDocumentParams, AddScriptToEvaluateOnNewDocumentResponse]
CaptureScreenshotCommand
module-attribute
CaptureScreenshotCommand = Command[CaptureScreenshotParams, CaptureScreenshotResponse]
CaptureSnapshotCommand
module-attribute
CaptureSnapshotCommand = Command[CaptureSnapshotParams, CaptureSnapshotResponse]
ClearCompilationCacheCommand
module-attribute
ClearCompilationCacheCommand = Command[EmptyParams, EmptyResponse]
CreateIsolatedWorldCommand
module-attribute
CreateIsolatedWorldCommand = Command[CreateIsolatedWorldParams, CreateIsolatedWorldResponse]
GenerateTestReportCommand
module-attribute
GenerateTestReportCommand = Command[GenerateTestReportParams, EmptyResponse]
GetAdScriptAncestryCommand
module-attribute
GetAdScriptAncestryCommand = Command[GetAdScriptAncestryParams, GetAdScriptAncestryResponse]
GetAdScriptAncestryIdsCommand
module-attribute
GetAdScriptAncestryIdsCommand = Command[GetAdScriptAncestryIdsParams, GetAdScriptAncestryIdsResponse]
GetAppManifestCommand
module-attribute
GetAppManifestCommand = Command[GetAppManifestParams, GetAppManifestResponse]
GetFrameTreeCommand
module-attribute
GetFrameTreeCommand = Command[EmptyParams, GetFrameTreeResponse]
GetInstallabilityErrorsCommand
module-attribute
GetInstallabilityErrorsCommand = Command[EmptyParams, GetInstallabilityErrorsResponse]
GetLayoutMetricsCommand
module-attribute
GetLayoutMetricsCommand = Command[EmptyParams, GetLayoutMetricsResponse]
GetManifestIconsCommand
module-attribute
GetManifestIconsCommand = Command[EmptyParams, GetManifestIconsResponse]
GetNavigationHistoryCommand
module-attribute
GetNavigationHistoryCommand = Command[EmptyParams, GetNavigationHistoryResponse]
GetOriginTrialsCommand
module-attribute
GetOriginTrialsCommand = Command[GetOriginTrialsParams, GetOriginTrialsResponse]
GetPermissionsPolicyStateCommand
module-attribute
GetPermissionsPolicyStateCommand = Command[GetPermissionsPolicyStateParams, GetPermissionsPolicyStateResponse]
GetResourceContentCommand
module-attribute
GetResourceContentCommand = Command[GetResourceContentParams, GetResourceContentResponse]
GetResourceTreeCommand
module-attribute
GetResourceTreeCommand = Command[EmptyParams, GetResourceTreeResponse]
HandleJavaScriptDialogCommand
module-attribute
HandleJavaScriptDialogCommand = Command[HandleJavaScriptDialogParams, EmptyResponse]
NavigateToHistoryEntryCommand
module-attribute
NavigateToHistoryEntryCommand = Command[NavigateToHistoryEntryParams, EmptyResponse]
PrintToPDFCommand
module-attribute
PrintToPDFCommand = Command[PrintToPDFParams, PrintToPDFResponse]
ProduceCompilationCacheCommand
module-attribute
ProduceCompilationCacheCommand = Command[ProduceCompilationCacheParams, EmptyResponse]
RemoveScriptToEvaluateOnLoadCommand
module-attribute
RemoveScriptToEvaluateOnLoadCommand = Command[RemoveScriptToEvaluateOnLoadParams, EmptyResponse]
RemoveScriptToEvaluateOnNewDocumentCommand
module-attribute
RemoveScriptToEvaluateOnNewDocumentCommand = Command[RemoveScriptToEvaluateOnNewDocumentParams, EmptyResponse]
ResetNavigationHistoryCommand
module-attribute
ResetNavigationHistoryCommand = Command[EmptyParams, EmptyResponse]
ScreencastFrameAckCommand
module-attribute
ScreencastFrameAckCommand = Command[ScreencastFrameAckParams, EmptyResponse]
SearchInResourceCommand
module-attribute
SearchInResourceCommand = Command[SearchInResourceParams, SearchInResourceResponse]
SetAdBlockingEnabledCommand
module-attribute
SetAdBlockingEnabledCommand = Command[SetAdBlockingEnabledParams, EmptyResponse]
SetBypassCSPCommand
module-attribute
SetBypassCSPCommand = Command[SetBypassCSPParams, EmptyResponse]
SetDocumentContentCommand
module-attribute
SetDocumentContentCommand = Command[SetDocumentContentParams, EmptyResponse]
SetFontFamiliesCommand
module-attribute
SetFontFamiliesCommand = Command[SetFontFamiliesParams, EmptyResponse]
SetFontSizesCommand
module-attribute
SetFontSizesCommand = Command[SetFontSizesParams, EmptyResponse]
SetInterceptFileChooserDialogCommand
module-attribute
SetInterceptFileChooserDialogCommand = Command[SetInterceptFileChooserDialogParams, EmptyResponse]
SetLifecycleEventsEnabledCommand
module-attribute
SetLifecycleEventsEnabledCommand = Command[SetLifecycleEventsEnabledParams, EmptyResponse]
SetPrerenderingAllowedCommand
module-attribute
SetPrerenderingAllowedCommand = Command[SetPrerenderingAllowedParams, EmptyResponse]
SetRPHRegistrationModeCommand
module-attribute
SetRPHRegistrationModeCommand = Command[SetRPHRegistrationModeParams, EmptyResponse]
SetSPCTransactionModeCommand
module-attribute
SetSPCTransactionModeCommand = Command[SetSPCTransactionModeParams, EmptyResponse]
SetWebLifecycleStateCommand
module-attribute
SetWebLifecycleStateCommand = Command[SetWebLifecycleStateParams, EmptyResponse]
StartScreencastCommand
module-attribute
StartScreencastCommand = Command[StartScreencastParams, EmptyResponse]
WaitForDebuggerCommand
module-attribute
WaitForDebuggerCommand = Command[EmptyParams, EmptyResponse]
PageMethod
Bases: str
, Enum
ADD_SCRIPT_TO_EVALUATE_ON_LOAD
class-attribute
instance-attribute
ADD_SCRIPT_TO_EVALUATE_ON_NEW_DOCUMENT
class-attribute
instance-attribute
CLEAR_COMPILATION_CACHE
class-attribute
instance-attribute
CREATE_ISOLATED_WORLD
class-attribute
instance-attribute
GENERATE_TEST_REPORT
class-attribute
instance-attribute
GET_AD_SCRIPT_ANCESTRY_IDS
class-attribute
instance-attribute
GET_INSTALLABILITY_ERRORS
class-attribute
instance-attribute
GET_NAVIGATION_HISTORY
class-attribute
instance-attribute
GET_PERMISSIONS_POLICY_STATE
class-attribute
instance-attribute
GET_RESOURCE_CONTENT
class-attribute
instance-attribute
HANDLE_JAVASCRIPT_DIALOG
class-attribute
instance-attribute
NAVIGATE_TO_HISTORY_ENTRY
class-attribute
instance-attribute
PRODUCE_COMPILATION_CACHE
class-attribute
instance-attribute
REMOVE_SCRIPT_TO_EVALUATE_ON_LOAD
class-attribute
instance-attribute
REMOVE_SCRIPT_TO_EVALUATE_ON_NEW_DOCUMENT
class-attribute
instance-attribute
RESET_NAVIGATION_HISTORY
class-attribute
instance-attribute
SCREENCAST_FRAME_ACK
class-attribute
instance-attribute
SET_AD_BLOCKING_ENABLED
class-attribute
instance-attribute
SET_DOCUMENT_CONTENT
class-attribute
instance-attribute
SET_INTERCEPT_FILE_CHOOSER_DIALOG
class-attribute
instance-attribute
SET_LIFECYCLE_EVENTS_ENABLED
class-attribute
instance-attribute
SET_PRERENDERING_ALLOWED
class-attribute
instance-attribute
SET_RPH_REGISTRATION_MODE
class-attribute
instance-attribute
SET_SPC_TRANSACTION_MODE
class-attribute
instance-attribute
SET_WEB_LIFECYCLE_STATE
class-attribute
instance-attribute
AddScriptToEvaluateOnNewDocumentParams
CaptureScreenshotParams
Bases: TypedDict
Parameters for captureScreenshot.
CaptureSnapshotParams
CreateIsolatedWorldParams
GetAppManifestParams
GetAdScriptAncestryParams
GetPermissionsPolicyStateParams
GetOriginTrialsParams
GetResourceContentParams
HandleJavaScriptDialogParams
NavigateParams
NavigateToHistoryEntryParams
EnableParams
PrintToPDFParams
Bases: TypedDict
Parameters for printToPDF.
ReloadParams
RemoveScriptToEvaluateOnNewDocumentParams
ScreencastFrameAckParams
SearchInResourceParams
SetAdBlockingEnabledParams
AddScriptToEvaluateOnLoadParams
SetDocumentContentParams
SetInterceptFileChooserDialogParams
SetLifecycleEventsEnabledParams
AddCompilationCacheParams
GenerateTestReportParams
GetAdScriptAncestryIdsParams
GetAppIdParams
GetManifestIconsParams
Bases: TypedDict
Parameters for getManifestIcons.
RemoveScriptToEvaluateOnLoadParams
SetFontFamiliesParams
SetFontSizesParams
SetPrerenderingAllowedParams
SetRPHRegistrationModeParams
SetSPCTransactionModeParams
SetWebLifecycleStateParams
StartScreencastParams
ProduceCompilationCacheParams
GetAppManifestResult
GetInstallabilityErrorsResult
GetAppIdResult
GetLayoutMetricsResult
Bases: TypedDict
GetNavigationHistoryResult
GetResourceContentResult
NavigateResult
AddScriptToEvaluateOnLoadResult
GetManifestIconsResult
Events
pydoll.protocol.page.events
DomContentEventFiredEvent
module-attribute
DomContentEventFiredEvent = CDPEvent[DomContentEventFiredEventParams]
FileChooserOpenedEvent
module-attribute
FileChooserOpenedEvent = CDPEvent[FileChooserOpenedEventParams]
FrameClearedScheduledNavigationEvent
module-attribute
FrameClearedScheduledNavigationEvent = CDPEvent[FrameClearedScheduledNavigationEventParams]
FrameSubtreeWillBeDetachedEvent
module-attribute
FrameSubtreeWillBeDetachedEvent = CDPEvent[FrameSubtreeWillBeDetachedEventParams]
FrameStartedNavigatingEvent
module-attribute
FrameStartedNavigatingEvent = CDPEvent[FrameStartedNavigatingEventParams]
FrameRequestedNavigationEvent
module-attribute
FrameRequestedNavigationEvent = CDPEvent[FrameRequestedNavigationEventParams]
FrameScheduledNavigationEvent
module-attribute
FrameScheduledNavigationEvent = CDPEvent[FrameScheduledNavigationEventParams]
FrameStartedLoadingEvent
module-attribute
FrameStartedLoadingEvent = CDPEvent[FrameStartedLoadingEventParams]
FrameStoppedLoadingEvent
module-attribute
FrameStoppedLoadingEvent = CDPEvent[FrameStoppedLoadingEventParams]
DownloadWillBeginEvent
module-attribute
DownloadWillBeginEvent = CDPEvent[DownloadWillBeginEventParams]
DownloadProgressEvent
module-attribute
DownloadProgressEvent = CDPEvent[DownloadProgressEventParams]
InterstitialHiddenEvent
module-attribute
InterstitialHiddenEvent = CDPEvent[InterstitialHiddenEventParams]
InterstitialShownEvent
module-attribute
InterstitialShownEvent = CDPEvent[InterstitialShownEventParams]
JavascriptDialogClosedEvent
module-attribute
JavascriptDialogClosedEvent = CDPEvent[JavascriptDialogClosedEventParams]
JavascriptDialogOpeningEvent
module-attribute
JavascriptDialogOpeningEvent = CDPEvent[JavascriptDialogOpeningEventParams]
BackForwardCacheNotUsedEvent
module-attribute
BackForwardCacheNotUsedEvent = CDPEvent[BackForwardCacheNotUsedEventParams]
NavigatedWithinDocumentEvent
module-attribute
NavigatedWithinDocumentEvent = CDPEvent[NavigatedWithinDocumentEventParams]
ScreencastVisibilityChangedEvent
module-attribute
ScreencastVisibilityChangedEvent = CDPEvent[ScreencastVisibilityChangedEventParams]
CompilationCacheProducedEvent
module-attribute
CompilationCacheProducedEvent = CDPEvent[CompilationCacheProducedEventParams]
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. |
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. |
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:
|
FileChooserOpenedEventParams
FrameAttachedEventParams
FrameDetachedEventParams
FrameNavigatedEventParams
FrameResizedEventParams
Bases: TypedDict
FrameStartedNavigatingEventParams
FrameRequestedNavigationEventParams
FrameScheduledNavigationEventParams
DownloadWillBeginEventParams
DownloadProgressEventParams
InterstitialHiddenEventParams
Bases: TypedDict
InterstitialShownEventParams
Bases: TypedDict
JavascriptDialogClosedEventParams
JavascriptDialogOpeningEventParams
LifecycleEventEventParams
BackForwardCacheNotUsedEventParams
NavigatedWithinDocumentEventParams
ScreencastFrameEventParams
WindowOpenEventParams
Types
pydoll.protocol.page.types
AdFrameType
AdFrameExplanation
Bases: str
, Enum
Ad frame explanation types.
SecureContextType
Bases: str
, Enum
Secure context types.
CrossOriginIsolatedContextType
Bases: str
, Enum
Cross-origin isolated context types.
GatedAPIFeatures
Bases: str
, Enum
Gated API features.
SHARED_ARRAY_BUFFERS_TRANSFER_ALLOWED
class-attribute
instance-attribute
PERFORMANCE_MEASURE_MEMORY
class-attribute
instance-attribute
PermissionsPolicyFeature
Bases: str
, Enum
Permissions policy features.
AMBIENT_LIGHT_SENSOR
class-attribute
instance-attribute
ATTRIBUTION_REPORTING
class-attribute
instance-attribute
CAPTURED_SURFACE_CONTROL
class-attribute
instance-attribute
CH_PREFERS_COLOR_SCHEME
class-attribute
instance-attribute
CH_PREFERS_REDUCED_MOTION
class-attribute
instance-attribute
CH_PREFERS_REDUCED_TRANSPARENCY
class-attribute
instance-attribute
CH_UA_HIGH_ENTROPY_VALUES
class-attribute
instance-attribute
CH_UA_FULL_VERSION_LIST
class-attribute
instance-attribute
CH_UA_PLATFORM_VERSION
class-attribute
instance-attribute
CROSS_ORIGIN_ISOLATED
class-attribute
instance-attribute
DEFERRED_FETCH_MINIMAL
class-attribute
instance-attribute
DIGITAL_CREDENTIALS_GET
class-attribute
instance-attribute
DIRECT_SOCKETS_PRIVATE
class-attribute
instance-attribute
EXECUTION_WHILE_OUT_OF_VIEWPORT
class-attribute
instance-attribute
EXECUTION_WHILE_NOT_RENDERED
class-attribute
instance-attribute
FENCED_UNPARTITIONED_STORAGE_READ
class-attribute
instance-attribute
FOCUS_WITHOUT_USER_ACTIVATION
class-attribute
instance-attribute
IDENTITY_CREDENTIALS_GET
class-attribute
instance-attribute
JOIN_AD_INTEREST_GROUP
class-attribute
instance-attribute
LOCAL_NETWORK_ACCESS
class-attribute
instance-attribute
MEDIA_PLAYBACK_WHILE_NOT_VISIBLE
class-attribute
instance-attribute
ON_DEVICE_SPEECH_RECOGNITION
class-attribute
instance-attribute
PRIVATE_STATE_TOKEN_ISSUANCE
class-attribute
instance-attribute
PRIVATE_STATE_TOKEN_REDEMPTION
class-attribute
instance-attribute
PUBLICKEY_CREDENTIALS_CREATE
class-attribute
instance-attribute
PUBLICKEY_CREDENTIALS_GET
class-attribute
instance-attribute
RECORD_AD_AUCTION_EVENTS
class-attribute
instance-attribute
SHARED_STORAGE_SELECT_URL
class-attribute
instance-attribute
WEB_APP_INSTALLATION
class-attribute
instance-attribute
PermissionsPolicyBlockReason
Bases: str
, Enum
Permissions policy block reasons.
BackForwardCacheNotRestoredReasonType
Bases: str
, Enum
Back/forward cache not restored explanation type.
BackForwardCacheNotRestoredReason
Bases: str
, Enum
NOT_PRIMARY_MAIN_FRAME
class-attribute
instance-attribute
BACK_FORWARD_CACHE_DISABLED
class-attribute
instance-attribute
RELATED_ACTIVE_CONTENTS_EXIST
class-attribute
instance-attribute
SCHEME_NOT_HTTP_OR_HTTPS
class-attribute
instance-attribute
WAS_GRANTED_MEDIA_ACCESS
class-attribute
instance-attribute
DISABLE_FOR_RENDER_FRAME_HOST_CALLED
class-attribute
instance-attribute
SUBFRAME_IS_NAVIGATING
class-attribute
instance-attribute
JAVASCRIPT_EXECUTION
class-attribute
instance-attribute
RENDERER_PROCESS_KILLED
class-attribute
instance-attribute
RENDERER_PROCESS_CRASHED
class-attribute
instance-attribute
SCHEDULER_TRACKED_FEATURE_USED
class-attribute
instance-attribute
CONFLICTING_BROWSING_INSTANCE
class-attribute
instance-attribute
SERVICE_WORKER_VERSION_ACTIVATION
class-attribute
instance-attribute
SERVICE_WORKER_POST_MESSAGE
class-attribute
instance-attribute
ENTERED_BACK_FORWARD_CACHE_BEFORE_SERVICE_WORKER_HOST_ADDED
class-attribute
instance-attribute
ENTERED_BACK_FORWARD_CACHE_BEFORE_SERVICE_WORKER_HOST_ADDED = 'EnteredBackForwardCacheBeforeServiceWorkerHostAdded'
RENDER_FRAME_HOST_REUSED_SAME_SITE
class-attribute
instance-attribute
RENDER_FRAME_HOST_REUSED_CROSS_SITE
class-attribute
instance-attribute
IGNORE_EVENT_AND_EVICT
class-attribute
instance-attribute
TIMEOUT_PUTTING_IN_CACHE
class-attribute
instance-attribute
BACK_FORWARD_CACHE_DISABLED_BY_LOW_MEMORY
class-attribute
instance-attribute
BACK_FORWARD_CACHE_DISABLED_BY_COMMAND_LINE
class-attribute
instance-attribute
NETWORK_REQUEST_DATAPIPE_DRAINED_AS_BYTES_CONSUMER
class-attribute
instance-attribute
NETWORK_REQUEST_REDIRECTED
class-attribute
instance-attribute
NETWORK_REQUEST_TIMEOUT
class-attribute
instance-attribute
NETWORK_EXCEEDS_BUFFER_LIMIT
class-attribute
instance-attribute
NAVIGATION_CANCELLED_WHILE_RESTORING
class-attribute
instance-attribute
NOT_MOST_RECENT_NAVIGATION_ENTRY
class-attribute
instance-attribute
BACK_FORWARD_CACHE_DISABLED_FOR_PRERENDER
class-attribute
instance-attribute
USER_AGENT_OVERRIDE_DIFFERS
class-attribute
instance-attribute
FOREGROUND_CACHE_LIMIT
class-attribute
instance-attribute
BROWSING_INSTANCE_NOT_SWAPPED
class-attribute
instance-attribute
BACK_FORWARD_CACHE_DISABLED_FOR_DELEGATE
class-attribute
instance-attribute
UNLOAD_HANDLER_EXISTS_IN_MAIN_FRAME
class-attribute
instance-attribute
UNLOAD_HANDLER_EXISTS_IN_SUB_FRAME
class-attribute
instance-attribute
SERVICE_WORKER_UNREGISTRATION
class-attribute
instance-attribute
CACHE_CONTROL_NO_STORE
class-attribute
instance-attribute
CACHE_CONTROL_NO_STORE_COOKIE_MODIFIED
class-attribute
instance-attribute
CACHE_CONTROL_NO_STORE_HTTP_ONLY_COOKIE_MODIFIED
class-attribute
instance-attribute
ACTIVATION_NAVIGATIONS_DISALLOWED_FOR_BUG_1234857
class-attribute
instance-attribute
FENCED_FRAMES_EMBEDDER
class-attribute
instance-attribute
BROADCAST_CHANNEL_ON_MESSAGE
class-attribute
instance-attribute
WEB_VIEW_SETTINGS_CHANGED
class-attribute
instance-attribute
WEB_VIEW_JAVASCRIPT_OBJECT_CHANGED
class-attribute
instance-attribute
WEB_VIEW_MESSAGE_LISTENER_INJECTED
class-attribute
instance-attribute
WEB_VIEW_SAFE_BROWSING_ALLOWLIST_CHANGED
class-attribute
instance-attribute
WEB_VIEW_DOCUMENT_START_JAVASCRIPT_CHANGED
class-attribute
instance-attribute
MAIN_RESOURCE_HAS_CACHE_CONTROL_NO_STORE
class-attribute
instance-attribute
MAIN_RESOURCE_HAS_CACHE_CONTROL_NO_CACHE
class-attribute
instance-attribute
SUBRESOURCE_HAS_CACHE_CONTROL_NO_STORE
class-attribute
instance-attribute
SUBRESOURCE_HAS_CACHE_CONTROL_NO_CACHE
class-attribute
instance-attribute
OUTSTANDING_NETWORK_REQUEST_OTHERS
class-attribute
instance-attribute
REQUESTED_MIDI_PERMISSION
class-attribute
instance-attribute
REQUESTED_AUDIO_CAPTURE_PERMISSION
class-attribute
instance-attribute
REQUESTED_VIDEO_CAPTURE_PERMISSION
class-attribute
instance-attribute
REQUESTED_BACK_FORWARD_CACHE_BLOCKED_SENSORS
class-attribute
instance-attribute
REQUESTED_BACKGROUND_WORK_PERMISSION
class-attribute
instance-attribute
SHARED_WORKER_MESSAGE
class-attribute
instance-attribute
REQUESTED_STORAGE_ACCESS_GRANT
class-attribute
instance-attribute
OUTSTANDING_NETWORK_REQUEST_FETCH
class-attribute
instance-attribute
OUTSTANDING_NETWORK_REQUEST_XHR
class-attribute
instance-attribute
OUTSTANDING_NETWORK_REQUEST_DIRECT_SOCKET
class-attribute
instance-attribute
JS_NETWORK_REQUEST_RECEIVED_CACHE_CONTROL_NO_STORE_RESOURCE
class-attribute
instance-attribute
JS_NETWORK_REQUEST_RECEIVED_CACHE_CONTROL_NO_STORE_RESOURCE = 'JsNetworkRequestReceivedCacheControlNoStoreResource'
LIVE_MEDIA_STREAM_TRACK
class-attribute
instance-attribute
CONTENT_SECURITY_HANDLER
class-attribute
instance-attribute
CONTENT_WEB_AUTHENTICATION_API
class-attribute
instance-attribute
CONTENT_FILE_SYSTEM_ACCESS
class-attribute
instance-attribute
CONTENT_MEDIA_DEVICES_DISPATCHER_HOST
class-attribute
instance-attribute
CONTENT_WEB_BLUETOOTH
class-attribute
instance-attribute
CONTENT_MEDIA_SESSION_SERVICE
class-attribute
instance-attribute
CONTENT_SCREEN_READER
class-attribute
instance-attribute
EMBEDDER_POPUP_BLOCKER_TAB_HELPER
class-attribute
instance-attribute
EMBEDDER_SAFE_BROWSING_TRIGGERED_POPUP_BLOCKER
class-attribute
instance-attribute
EMBEDDER_SAFE_BROWSING_THREAT_DETAILS
class-attribute
instance-attribute
EMBEDDER_APP_BANNER_MANAGER
class-attribute
instance-attribute
EMBEDDER_DOM_DISTILLER_VIEWER_SOURCE
class-attribute
instance-attribute
EMBEDDER_DOM_DISTILLER_SELF_DELETING_REQUEST_DELEGATE
class-attribute
instance-attribute
EMBEDDER_DOM_DISTILLER_SELF_DELETING_REQUEST_DELEGATE = 'EmbedderDomDistillerSelfDeletingRequestDelegate'
EMBEDDER_OOM_INTERVENTION_TAB_HELPER
class-attribute
instance-attribute
EMBEDDER_OFFLINE_PAGE
class-attribute
instance-attribute
EMBEDDER_CHROME_PASSWORD_MANAGER_CLIENT_BIND_CREDENTIAL_MANAGER
class-attribute
instance-attribute
EMBEDDER_CHROME_PASSWORD_MANAGER_CLIENT_BIND_CREDENTIAL_MANAGER = 'EmbedderChromePasswordManagerClientBindCredentialManager'
EMBEDDER_PERMISSION_REQUEST_MANAGER
class-attribute
instance-attribute
EMBEDDER_MODAL_DIALOG
class-attribute
instance-attribute
EMBEDDER_EXTENSION_MESSAGING
class-attribute
instance-attribute
EMBEDDER_EXTENSION_MESSAGING_FOR_OPEN_PORT
class-attribute
instance-attribute
EMBEDDER_EXTENSION_SENT_MESSAGE_TO_CACHED_FRAME
class-attribute
instance-attribute
REQUESTED_BY_WEB_VIEW_CLIENT
class-attribute
instance-attribute
POST_MESSAGE_BY_WEB_VIEW_CLIENT
class-attribute
instance-attribute
CACHE_CONTROL_NO_STORE_DEVICE_BOUND_SESSION_TERMINATED
class-attribute
instance-attribute
CACHE_CONTROL_NO_STORE_DEVICE_BOUND_SESSION_TERMINATED = 'CacheControlNoStoreDeviceBoundSessionTerminated'
CACHE_LIMIT_PRUNED_ON_MODERATE_MEMORY_PRESSURE
class-attribute
instance-attribute
BackForwardCacheBlockingDetails
BackForwardCacheNotRestoredExplanation
BackForwardCacheNotRestoredExplanationTree
OriginTrialTokenStatus
Bases: str
, Enum
Origin trial token status.
FEATURE_DISABLED_FOR_USER
class-attribute
instance-attribute
OriginTrialStatus
Bases: str
, Enum
Origin trial status.
VALID_TOKEN_NOT_PROVIDED
class-attribute
instance-attribute
OriginTrialUsageRestriction
TransitionType
Bases: str
, Enum
Transition types.
DialogType
ClientNavigationReason
Bases: Enum
Client navigation reasons.
INITIAL_FRAME_NAVIGATION
class-attribute
instance-attribute
PAGE_BLOCK_INTERSTITIAL
class-attribute
instance-attribute
ClientNavigationDisposition
Bases: str
, Enum
Client navigation dispositions.
ReferrerPolicy
Bases: str
, Enum
Referrer policy types.
NO_REFERRER_WHEN_DOWNGRADE
class-attribute
instance-attribute
ORIGIN_WHEN_CROSS_ORIGIN
class-attribute
instance-attribute
STRICT_ORIGIN_WHEN_CROSS_ORIGIN
class-attribute
instance-attribute
NavigationType
AdFrameStatus
AdScriptId
AdScriptAncestry
PermissionsPolicyBlockLocator
PermissionsPolicyFeatureState
OriginTrialToken
OriginTrialTokenWithStatus
OriginTrial
SecurityOriginDetails
Frame
Bases: TypedDict
Frame information.
FrameResource
FrameResourceTree
FrameTree
NavigationEntry
ScreencastFrameMetadata
Bases: TypedDict
Screencast frame metadata.
AppManifestError
AppManifestParsedProperties
LayoutViewport
VisualViewport
Bases: TypedDict
Visual viewport.
Viewport
FontFamilies
ScriptFontFamilies
FontSizes
CompilationCacheParams
FileFilter
ImageResource
FileHandler
ProtocolHandler
RelatedApplication
ScopeExtension
Screenshot
ShareTarget
WebAppManifest
Bases: TypedDict
Web app manifest.
InstallabilityErrorArgument
InstallabilityError
AutoResponseMode
Bases: str
, Enum
Auto response mode values.
AUTO_CHOOSE_TO_AUTH_ANOTHER_WAY
class-attribute
instance-attribute
WebLifecycleState
ScreenshotFormat
Bases: str
, Enum
Screenshot format values.