CreateTargetParameter
@Serializable
Constructors
Link copied to clipboard
constructor(url: String, left: Int? = null, top: Int? = null, width: Int? = null, height: Int? = null, windowState: Target.WindowState? = null, browserContextId: String? = null, enableBeginFrameControl: Boolean? = null, newWindow: Boolean? = null, background: Boolean? = null, forTab: Boolean? = null, hidden: Boolean? = null)
Properties
Link copied to clipboard
Whether to create the target in background or foreground (false by default, not supported by headless shell).
Link copied to clipboard
The browser context to create the page in.
Link copied to clipboard
Whether BeginFrames for this target will be controlled via DevTools (headless shell only, not supported on MacOS yet, false by default).
Link copied to clipboard
Link copied to clipboard
Frame window state (requires newWindow to be true or headless shell). Default is normal.