Contains DevTools Protocol Page domain implementation accessible via PageOperations class.
data class AddCompilationCacheRequest
Represents request frame that can be used with Page#addCompilationCache operation call. |
|
data class AddScriptToEvaluateOnLoadRequest
Represents request frame that can be used with Page#addScriptToEvaluateOnLoad operation call. |
|
data class AddScriptToEvaluateOnLoadResponse
Represents response frame that is returned from Page#addScriptToEvaluateOnLoad operation call. Deprecated, please use addScriptToEvaluateOnNewDocument instead. |
|
data class AddScriptToEvaluateOnNewDocumentRequest
Represents request frame that can be used with Page#addScriptToEvaluateOnNewDocument operation call. |
|
data class AddScriptToEvaluateOnNewDocumentResponse
Represents response frame that is returned from Page#addScriptToEvaluateOnNewDocument operation call. Evaluates given script in every frame upon creation (before loading frame's scripts). |
|
data class AppManifestError
Error while paring app manifest. |
|
data class CaptureScreenshotRequest
Represents request frame that can be used with Page#captureScreenshot operation call. |
|
data class CaptureScreenshotResponse
Represents response frame that is returned from Page#captureScreenshot operation call. Capture page screenshot. |
|
data class CaptureSnapshotRequest
Represents request frame that can be used with Page#captureSnapshot operation call. |
|
data class CaptureSnapshotResponse
Represents response frame that is returned from Page#captureSnapshot operation call. Returns a snapshot of the page as a string. For MHTML format, the serialization includes iframes, shadow DOM, external resources, and element-inline styles. |
|
enum class ClientNavigationReason |
|
data class CompilationCacheProducedEvent : Event
Issued for every compilation cache generated. Is only available if Page.setGenerateCompilationCache is enabled. |
|
data class CreateIsolatedWorldRequest
Represents request frame that can be used with Page#createIsolatedWorld operation call. |
|
data class CreateIsolatedWorldResponse
Represents response frame that is returned from Page#createIsolatedWorld operation call. Creates an isolated world for the given frame. |
|
data class DeleteCookieRequest
Represents request frame that can be used with Page#deleteCookie operation call. |
|
enum class DialogType
Javascript dialog type. |
|
data class DomContentEventFiredEvent : Event |
|
data class DownloadWillBeginEvent : Event
Fired when page is about to start a download. |
|
data class FileChooserOpenedEvent : Event
Emitted only when |
|
data class FontFamilies
Generic font families collection. |
|
data class FontSizes
Default font sizes. |
|
data class Frame
Information about the Frame on the page. |
|
data class FrameAttachedEvent : Event
Fired when frame has been attached to its parent. |
|
data class FrameClearedScheduledNavigationEvent : Event
Fired when frame no longer has a scheduled navigation. |
|
data class FrameDetachedEvent : Event
Fired when frame has been detached from its parent. |
|
data class FrameNavigatedEvent : Event
Fired once navigation of the frame has completed. Frame is now associated with the new loader. |
|
data class FrameRequestedNavigationEvent : Event
Fired when a renderer-initiated navigation is requested. Navigation may still be cancelled after the event is issued. |
|
data class FrameResource
Information about the Resource on the page. |
|
data class FrameResourceTree
Information about the Frame hierarchy along with their cached resources. |
|
data class FrameScheduledNavigationEvent : Event
Fired when frame schedules a potential navigation. |
|
data class FrameStartedLoadingEvent : Event
Fired when frame has started loading. |
|
data class FrameStoppedLoadingEvent : Event
Fired when frame has stopped loading. |
|
data class FrameTree
Information about the Frame hierarchy. |
|
data class GenerateTestReportRequest
Represents request frame that can be used with Page#generateTestReport operation call. |
|
data class GetAppManifestResponse
Represents response frame that is returned from Page#getAppManifest operation call. |
|
data class GetCookiesResponse
Represents response frame that is returned from Page#getCookies operation call.
Returns all browser cookies. Depending on the backend support, will return detailed cookie
information in the |
|
data class GetFrameTreeResponse
Represents response frame that is returned from Page#getFrameTree operation call. Returns present frame tree structure. |
|
data class GetInstallabilityErrorsResponse
Represents response frame that is returned from Page#getInstallabilityErrors operation call. |
|
data class GetLayoutMetricsResponse
Represents response frame that is returned from Page#getLayoutMetrics operation call. Returns metrics relating to the layouting of the page, such as viewport bounds/scale. |
|
data class GetNavigationHistoryResponse
Represents response frame that is returned from Page#getNavigationHistory operation call. Returns navigation history for the current page. |
|
data class GetResourceContentRequest
Represents request frame that can be used with Page#getResourceContent operation call. |
|
data class GetResourceContentResponse
Represents response frame that is returned from Page#getResourceContent operation call. Returns content of the given resource. |
|
data class GetResourceTreeResponse
Represents response frame that is returned from Page#getResourceTree operation call. Returns present frame / resource tree structure. |
|
data class HandleFileChooserRequest
Represents request frame that can be used with Page#handleFileChooser operation call. |
|
data class HandleJavaScriptDialogRequest
Represents request frame that can be used with Page#handleJavaScriptDialog operation call. |
|
data class JavascriptDialogClosedEvent : Event
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been closed. |
|
data class JavascriptDialogOpeningEvent : Event
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to open. |
|
data class LayoutViewport
Layout viewport position and dimensions. |
|
data class LifecycleEventEvent : Event
Fired for top level page lifecycle events such as navigation, load, paint, etc. |
|
data class LoadEventFiredEvent : Event |
|
data class NavigatedWithinDocumentEvent : Event
Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation. |
|
data class NavigateRequest
Represents request frame that can be used with Page#navigate operation call. |
|
data class NavigateResponse
Represents response frame that is returned from Page#navigate operation call. Navigates current page to the given URL. |
|
data class NavigateToHistoryEntryRequest
Represents request frame that can be used with Page#navigateToHistoryEntry operation call. |
|
data class NavigationEntry
Navigation history entry. |
|
class PageOperations
Actions and events related to the inspected page belong to the page domain. |
|
data class PrintToPDFRequest
Represents request frame that can be used with Page#printToPDF operation call. |
|
data class PrintToPDFResponse
Represents response frame that is returned from Page#printToPDF operation call. Print page as PDF. |
|
data class ReloadRequest
Represents request frame that can be used with Page#reload operation call. |
|
data class RemoveScriptToEvaluateOnLoadRequest
Represents request frame that can be used with Page#removeScriptToEvaluateOnLoad operation call. |
|
data class RemoveScriptToEvaluateOnNewDocumentRequest
Represents request frame that can be used with Page#removeScriptToEvaluateOnNewDocument operation call. |
|
data class ScreencastFrameAckRequest
Represents request frame that can be used with Page#screencastFrameAck operation call. |
|
data class ScreencastFrameEvent : Event
Compressed image data requested by the |
|
data class ScreencastFrameMetadata
Screencast frame metadata. |
|
data class ScreencastVisibilityChangedEvent : Event
Fired when the page with currently enabled screencast was shown or hidden `. |
|
data class SearchInResourceRequest
Represents request frame that can be used with Page#searchInResource operation call. |
|
data class SearchInResourceResponse
Represents response frame that is returned from Page#searchInResource operation call. Searches for given string in resource content. |
|
data class SetAdBlockingEnabledRequest
Represents request frame that can be used with Page#setAdBlockingEnabled operation call. |
|
data class SetBypassCSPRequest
Represents request frame that can be used with Page#setBypassCSP operation call. |
|
data class SetDeviceMetricsOverrideRequest
Represents request frame that can be used with Page#setDeviceMetricsOverride operation call. |
|
data class SetDeviceOrientationOverrideRequest
Represents request frame that can be used with Page#setDeviceOrientationOverride operation call. |
|
data class SetDocumentContentRequest
Represents request frame that can be used with Page#setDocumentContent operation call. |
|
data class SetDownloadBehaviorRequest
Represents request frame that can be used with Page#setDownloadBehavior operation call. |
|
data class SetFontFamiliesRequest
Represents request frame that can be used with Page#setFontFamilies operation call. |
|
data class SetFontSizesRequest
Represents request frame that can be used with Page#setFontSizes operation call. |
|
data class SetGeolocationOverrideRequest
Represents request frame that can be used with Page#setGeolocationOverride operation call. |
|
data class SetInterceptFileChooserDialogRequest
Represents request frame that can be used with Page#setInterceptFileChooserDialog operation call. |
|
data class SetLifecycleEventsEnabledRequest
Represents request frame that can be used with Page#setLifecycleEventsEnabled operation call. |
|
data class SetProduceCompilationCacheRequest
Represents request frame that can be used with Page#setProduceCompilationCache operation call. |
|
data class SetTouchEmulationEnabledRequest
Represents request frame that can be used with Page#setTouchEmulationEnabled operation call. |
|
data class SetWebLifecycleStateRequest
Represents request frame that can be used with Page#setWebLifecycleState operation call. |
|
data class StartScreencastRequest
Represents request frame that can be used with Page#startScreencast operation call. |
|
enum class TransitionType
Transition type. |
|
data class Viewport
Viewport for capturing screenshot. |
|
data class VisualViewport
Visual viewport position, dimensions, and scale. |
|
data class WindowOpenEvent : Event
Fired when a new window is going to be opened, via window.open(), link click, form submission, etc. |
typealias FrameId = String
Unique frame identifier. |
|
typealias ScriptIdentifier = String
Unique script identifier. |