OpenDevToolsRequest

@Serializable
data class OpenDevToolsRequest(val targetId: TargetID, val panelId: String? = null)

Request object containing input parameters for the TargetDomain.openDevTools command.

Constructors

Link copied to clipboard
constructor(targetId: TargetID, panelId: String? = null)

Types

Link copied to clipboard
class Builder(val targetId: TargetID)

A builder for OpenDevToolsRequest, which allows setting the optional parameters of the TargetDomain.openDevTools command via a lambda.

Properties

Link copied to clipboard

The id of the panel we want DevTools to open initially. Currently supported panels are elements, console, network, sources, resources and performance.

Link copied to clipboard

This can be the page or tab target ID.