ScreenshotRequestedEvent

data class ScreenshotRequestedEvent(viewport: Viewport) : Event

Fired when user asks to capture screenshot of some area on the page.

Constructors

ScreenshotRequestedEvent
Link copied to clipboard
fun ScreenshotRequestedEvent(viewport: Viewport)

Functions

domain
Link copied to clipboard
open override fun domain(): String
Returns domain name for which event was generated.
eventName
Link copied to clipboard
open override fun eventName(): String
Returns event name as described in protocol.

Properties

viewport
Link copied to clipboard
val viewport: Viewport
Viewport to capture, in device independent pixels (dip).

Sources

jvm source
Link copied to clipboard