public class ChromeArguments extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ChromeArguments.Builder
The type Builder.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
USER_DATA_DIR_ARGUMENT |
| Constructor and Description |
|---|
ChromeArguments() |
| Modifier and Type | Method and Description |
|---|---|
static ChromeArguments.Builder |
builder()
Builder builder.
|
static ChromeArguments.Builder |
defaults(boolean headless)
Creates a builder with default values.
|
Map<String,Object> |
getAdditionalArguments()
Gets additional arguments.
|
Boolean |
getDisableBackgroundNetworking()
Gets disable background networking.
|
Boolean |
getDisableBackgroundTimerThrottling()
Gets disable background timer throttling.
|
Boolean |
getDisableClientSidePhishingDetection()
Gets disable client side phishing detection.
|
Boolean |
getDisableDefaultApps()
Gets disable default apps.
|
Boolean |
getDisableExtensions()
Gets disable extensions.
|
Boolean |
getDisableGpu()
Gets disable gpu flag.
|
Boolean |
getDisableHangMonitor()
Gets disable hang monitor.
|
Boolean |
getDisablePopupBlocking()
Gets disable popup blocking.
|
Boolean |
getDisablePromptOnRepost()
Gets disable prompt on repost.
|
Boolean |
getDisableSync()
Gets disable sync.
|
Boolean |
getDisableTranslate()
Gets disable translate.
|
Boolean |
getHeadless()
Is headless.
|
Boolean |
getHideScrollbars()
Gets hide scrollbars flag.
|
Boolean |
getIncognito()
Gets the incognito flag.
|
Boolean |
getMetricsRecordingOnly()
Gets metrics recording only.
|
Boolean |
getMuteAudio()
Gets mute audio flag.
|
Boolean |
getNoDefaultBrowserCheck()
Gets no default browser check.
|
Boolean |
getNoFirstRun()
Gets no first run param.
|
Integer |
getRemoteDebuggingPort()
Gets remote debugging port.
|
Boolean |
getSafebrowsingDisableAutoUpdate()
Gets safebrowsing disable auto update.
|
String |
getUserDataDir()
Gets user data dir.
|
public static final String USER_DATA_DIR_ARGUMENT
public Boolean getHeadless()
public Map<String,Object> getAdditionalArguments()
public Boolean getNoDefaultBrowserCheck()
public Boolean getNoFirstRun()
public String getUserDataDir()
public Integer getRemoteDebuggingPort()
public Boolean getIncognito()
public Boolean getDisableGpu()
public Boolean getHideScrollbars()
public Boolean getMuteAudio()
public Boolean getDisableBackgroundNetworking()
public Boolean getDisableBackgroundTimerThrottling()
public Boolean getDisableClientSidePhishingDetection()
public Boolean getDisableDefaultApps()
public Boolean getDisableExtensions()
public Boolean getDisableHangMonitor()
public Boolean getDisablePopupBlocking()
public Boolean getDisablePromptOnRepost()
public Boolean getDisableSync()
public Boolean getDisableTranslate()
public Boolean getMetricsRecordingOnly()
public Boolean getSafebrowsingDisableAutoUpdate()
public static ChromeArguments.Builder builder()
public static ChromeArguments.Builder defaults(boolean headless)
headless - Headless.RuntimeException - If it fails to create temp directory for user-data-dir.Copyright © 2020. All rights reserved.