data class CreateTargetRequest
(source)
Represents request frame that can be used with Target#createTarget operation call.
Creates a new page.
Link
Target#createTarget method documentation.
See Also
CreateTargetRequest(url: String, width: Int? = null, height: Int? = null, browserContextId: BrowserContextID? = null, enableBeginFrameControl: Boolean? = null, newWindow: Boolean? = null, background: Boolean? = null)
Represents request frame that can be used with Target#createTarget operation call. |
val background: Boolean?
Whether to create the target in background or foreground (chrome-only, false by default). |
|
val browserContextId: BrowserContextID?
The browser context to create the page in. |
|
val enableBeginFrameControl: Boolean?
Whether BeginFrames for this target will be controlled via DevTools (headless chrome only, not supported on MacOS yet, false by default). |
|
val height: Int?
Frame height in DIP (headless chrome only). |
|
val newWindow: Boolean?
Whether to create a new Window or Tab (chrome-only, false by default). |
|
val url: String
The initial URL the page will be navigated to. |
|
val width: Int?
Frame width in DIP (headless chrome only). |