data class CreateTargetRequest
Request object containing input parameters for the TargetDomain.createTarget command.
<init> |
Request object containing input parameters for the TargetDomain.createTarget command. CreateTargetRequest(url: String, width: Int? = null, height: Int? = null, browserContextId: BrowserContextID? = null, enableBeginFrameControl: Boolean? = null, newWindow: Boolean? = null, background: Boolean? = null) |
background |
Whether to create the target in background or foreground (chrome-only, false by default). val background: Boolean? |
browserContextId |
The browser context to create the page in. val browserContextId: BrowserContextID? |
enableBeginFrameControl |
Whether BeginFrames for this target will be controlled via DevTools (headless chrome only, not supported on MacOS yet, false by default). val enableBeginFrameControl: Boolean? |
height |
Frame height in DIP (headless chrome only). val height: Int? |
newWindow |
Whether to create a new Window or Tab (chrome-only, false by default). val newWindow: Boolean? |
url |
The initial URL the page will be navigated to. val url: String |
width |
Frame width in DIP (headless chrome only). val width: Int? |