-
public final class CreateTargetRequestRequest object containing input parameters for the TargetDomain.createTarget command.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringurlprivate final Integerwidthprivate final Integerheightprivate final StringbrowserContextIdprivate final BooleanenableBeginFrameControlprivate final BooleannewWindowprivate final Booleanbackground
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Integercomponent2()final Integercomponent3()final Stringcomponent4()final Booleancomponent5()final Booleancomponent6()final Booleancomponent7()final CreateTargetRequestcopy(String url, Integer width, Integer height, String browserContextId, Boolean enableBeginFrameControl, Boolean newWindow, Boolean background)final StringgetUrl()The initial URL the page will be navigated to. final IntegergetWidth()Frame width in DIP (headless chrome only). final IntegergetHeight()Frame height in DIP (headless chrome only). final StringgetBrowserContextId()The browser context to create the page in. final BooleangetEnableBeginFrameControl()Whether BeginFrames for this target will be controlled via DevTools (headless chrome only, not supported on MacOS yet, false by default). final BooleangetNewWindow()Whether to create a new Window or Tab (chrome-only, false by default). final BooleangetBackground()Whether to create the target in background or foreground (chrome-only, false by default). -
-
Method Detail
-
component1
final String component1()
-
component2
final Integer component2()
-
component3
final Integer component3()
-
component4
final String component4()
-
component5
final Boolean component5()
-
component6
final Boolean component6()
-
component7
final Boolean component7()
-
copy
final CreateTargetRequest copy(String url, Integer width, Integer height, String browserContextId, Boolean enableBeginFrameControl, Boolean newWindow, Boolean background)
-
getBrowserContextId
final String getBrowserContextId()
The browser context to create the page in.
-
getEnableBeginFrameControl
final Boolean getEnableBeginFrameControl()
Whether BeginFrames for this target will be controlled via DevTools (headless chrome only, not supported on MacOS yet, false by default).
-
getNewWindow
final Boolean getNewWindow()
Whether to create a new Window or Tab (chrome-only, false by default).
-
getBackground
final Boolean getBackground()
Whether to create the target in background or foreground (chrome-only, false by default).
-
-
-
-