Class SessionStartParams.Browser.LaunchOptions.Builder
-
- All Implemented Interfaces:
public final class SessionStartParams.Browser.LaunchOptions.BuilderA builder for LaunchOptions.
-
-
Method Summary
-
-
Method Detail
-
acceptDownloads
final SessionStartParams.Browser.LaunchOptions.Builder acceptDownloads(Boolean acceptDownloads)
-
acceptDownloads
final SessionStartParams.Browser.LaunchOptions.Builder acceptDownloads(JsonField<Boolean> acceptDownloads)
Sets Builder.acceptDownloads to an arbitrary JSON value.
You should usually call Builder.acceptDownloads with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
args
final SessionStartParams.Browser.LaunchOptions.Builder args(List<String> args)
-
args
final SessionStartParams.Browser.LaunchOptions.Builder args(JsonField<List<String>> args)
Sets Builder.args to an arbitrary JSON value.
You should usually call Builder.args with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addArg
final SessionStartParams.Browser.LaunchOptions.Builder addArg(String arg)
-
cdpHeaders
final SessionStartParams.Browser.LaunchOptions.Builder cdpHeaders(SessionStartParams.Browser.LaunchOptions.CdpHeaders cdpHeaders)
-
cdpHeaders
final SessionStartParams.Browser.LaunchOptions.Builder cdpHeaders(JsonField<SessionStartParams.Browser.LaunchOptions.CdpHeaders> cdpHeaders)
Sets Builder.cdpHeaders to an arbitrary JSON value.
You should usually call Builder.cdpHeaders with a well-typed CdpHeaders value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
cdpUrl
final SessionStartParams.Browser.LaunchOptions.Builder cdpUrl(String cdpUrl)
-
cdpUrl
final SessionStartParams.Browser.LaunchOptions.Builder cdpUrl(JsonField<String> cdpUrl)
Sets Builder.cdpUrl to an arbitrary JSON value.
You should usually call Builder.cdpUrl with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
chromiumSandbox
final SessionStartParams.Browser.LaunchOptions.Builder chromiumSandbox(Boolean chromiumSandbox)
-
chromiumSandbox
final SessionStartParams.Browser.LaunchOptions.Builder chromiumSandbox(JsonField<Boolean> chromiumSandbox)
Sets Builder.chromiumSandbox to an arbitrary JSON value.
You should usually call Builder.chromiumSandbox with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
connectTimeoutMs
final SessionStartParams.Browser.LaunchOptions.Builder connectTimeoutMs(Double connectTimeoutMs)
-
connectTimeoutMs
final SessionStartParams.Browser.LaunchOptions.Builder connectTimeoutMs(JsonField<Double> connectTimeoutMs)
Sets Builder.connectTimeoutMs to an arbitrary JSON value.
You should usually call Builder.connectTimeoutMs with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
deviceScaleFactor
final SessionStartParams.Browser.LaunchOptions.Builder deviceScaleFactor(Double deviceScaleFactor)
-
deviceScaleFactor
final SessionStartParams.Browser.LaunchOptions.Builder deviceScaleFactor(JsonField<Double> deviceScaleFactor)
Sets Builder.deviceScaleFactor to an arbitrary JSON value.
You should usually call Builder.deviceScaleFactor with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
devtools
final SessionStartParams.Browser.LaunchOptions.Builder devtools(Boolean devtools)
-
devtools
final SessionStartParams.Browser.LaunchOptions.Builder devtools(JsonField<Boolean> devtools)
Sets Builder.devtools to an arbitrary JSON value.
You should usually call Builder.devtools with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
downloadsPath
final SessionStartParams.Browser.LaunchOptions.Builder downloadsPath(String downloadsPath)
-
downloadsPath
final SessionStartParams.Browser.LaunchOptions.Builder downloadsPath(JsonField<String> downloadsPath)
Sets Builder.downloadsPath to an arbitrary JSON value.
You should usually call Builder.downloadsPath with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
executablePath
final SessionStartParams.Browser.LaunchOptions.Builder executablePath(String executablePath)
-
executablePath
final SessionStartParams.Browser.LaunchOptions.Builder executablePath(JsonField<String> executablePath)
Sets Builder.executablePath to an arbitrary JSON value.
You should usually call Builder.executablePath with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
hasTouch
final SessionStartParams.Browser.LaunchOptions.Builder hasTouch(Boolean hasTouch)
-
hasTouch
final SessionStartParams.Browser.LaunchOptions.Builder hasTouch(JsonField<Boolean> hasTouch)
Sets Builder.hasTouch to an arbitrary JSON value.
You should usually call Builder.hasTouch with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
headless
final SessionStartParams.Browser.LaunchOptions.Builder headless(Boolean headless)
-
headless
final SessionStartParams.Browser.LaunchOptions.Builder headless(JsonField<Boolean> headless)
Sets Builder.headless to an arbitrary JSON value.
You should usually call Builder.headless with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
ignoreDefaultArgs
final SessionStartParams.Browser.LaunchOptions.Builder ignoreDefaultArgs(SessionStartParams.Browser.LaunchOptions.IgnoreDefaultArgs ignoreDefaultArgs)
-
ignoreDefaultArgs
final SessionStartParams.Browser.LaunchOptions.Builder ignoreDefaultArgs(JsonField<SessionStartParams.Browser.LaunchOptions.IgnoreDefaultArgs> ignoreDefaultArgs)
Sets Builder.ignoreDefaultArgs to an arbitrary JSON value.
You should usually call Builder.ignoreDefaultArgs with a well-typed IgnoreDefaultArgs value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
ignoreDefaultArgs
final SessionStartParams.Browser.LaunchOptions.Builder ignoreDefaultArgs(Boolean bool)
Alias for calling ignoreDefaultArgs with
IgnoreDefaultArgs.ofBool(bool).
-
ignoreDefaultArgsOfStrings
final SessionStartParams.Browser.LaunchOptions.Builder ignoreDefaultArgsOfStrings(List<String> strings)
Alias for calling ignoreDefaultArgs with
IgnoreDefaultArgs.ofStrings(strings).
-
ignoreHttpsErrors
final SessionStartParams.Browser.LaunchOptions.Builder ignoreHttpsErrors(Boolean ignoreHttpsErrors)
-
ignoreHttpsErrors
final SessionStartParams.Browser.LaunchOptions.Builder ignoreHttpsErrors(JsonField<Boolean> ignoreHttpsErrors)
Sets Builder.ignoreHttpsErrors to an arbitrary JSON value.
You should usually call Builder.ignoreHttpsErrors with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
locale
final SessionStartParams.Browser.LaunchOptions.Builder locale(String locale)
-
locale
final SessionStartParams.Browser.LaunchOptions.Builder locale(JsonField<String> locale)
Sets Builder.locale to an arbitrary JSON value.
You should usually call Builder.locale with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
port
final SessionStartParams.Browser.LaunchOptions.Builder port(Double port)
-
port
final SessionStartParams.Browser.LaunchOptions.Builder port(JsonField<Double> port)
Sets Builder.port to an arbitrary JSON value.
You should usually call Builder.port with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
preserveUserDataDir
final SessionStartParams.Browser.LaunchOptions.Builder preserveUserDataDir(Boolean preserveUserDataDir)
-
preserveUserDataDir
final SessionStartParams.Browser.LaunchOptions.Builder preserveUserDataDir(JsonField<Boolean> preserveUserDataDir)
Sets Builder.preserveUserDataDir to an arbitrary JSON value.
You should usually call Builder.preserveUserDataDir with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
proxy
final SessionStartParams.Browser.LaunchOptions.Builder proxy(SessionStartParams.Browser.LaunchOptions.Proxy proxy)
-
proxy
final SessionStartParams.Browser.LaunchOptions.Builder proxy(JsonField<SessionStartParams.Browser.LaunchOptions.Proxy> proxy)
Sets Builder.proxy to an arbitrary JSON value.
You should usually call Builder.proxy with a well-typed Proxy value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userDataDir
final SessionStartParams.Browser.LaunchOptions.Builder userDataDir(String userDataDir)
-
userDataDir
final SessionStartParams.Browser.LaunchOptions.Builder userDataDir(JsonField<String> userDataDir)
Sets Builder.userDataDir to an arbitrary JSON value.
You should usually call Builder.userDataDir with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
viewport
final SessionStartParams.Browser.LaunchOptions.Builder viewport(SessionStartParams.Browser.LaunchOptions.Viewport viewport)
-
viewport
final SessionStartParams.Browser.LaunchOptions.Builder viewport(JsonField<SessionStartParams.Browser.LaunchOptions.Viewport> viewport)
Sets Builder.viewport to an arbitrary JSON value.
You should usually call Builder.viewport with a well-typed Viewport value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final SessionStartParams.Browser.LaunchOptions.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SessionStartParams.Browser.LaunchOptions.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SessionStartParams.Browser.LaunchOptions.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SessionStartParams.Browser.LaunchOptions.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SessionStartParams.Browser.LaunchOptions.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SessionStartParams.Browser.LaunchOptions build()
Returns an immutable instance of LaunchOptions.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-