-
public class WebDriverSettings extends BrowserSettingsA general chrome option set: Capabilities { acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: { chromedriverVersion: 2.44.609551 (5d576e9a44fe4c..., userDataDir: /tmp/.org.chromium.Chromium... }, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:43001}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: none, platform: LINUX, platformName: LINUX, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: ignore, unhandledPromptBehavior: ignore, version: 69.0.3497.100, webStorageEnabled: true }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classWebDriverSettings.Companion
-
Field Summary
Fields Modifier and Type Field Description private final DurationfetchTaskTimeoutprivate final DurationpollingDriverTimeoutprivate final ImmutableConfigconfprivate final ScriptConfuserconfuserprivate final DisplayModedisplayModeprivate final BooleanforceNoSandboxprivate InteractSettingsinteractSettingsprivate final BooleanisGUIprivate final BooleanisHeadlessprivate final BooleanisSPAprivate final BooleanisStartupScriptEnabledprivate final BooleanisSupervisedprivate final BooleanisUrlBlockingEnabledprivate final BooleanisUserAgentOverridingEnabledprivate final BooleannoSandboxprivate StringpageLoadStrategyprivate StringpreloadJsprivate final FloatresourceBlockProbabilityprivate final ScriptLoaderscriptLoaderprivate final StringsupervisorProcessprivate final Collection<String>supervisorProcessArgsprivate final UserAgentuserAgent
-
Constructor Summary
Constructors Constructor Description WebDriverSettings(ImmutableConfig conf)
-
Method Summary
-
-
Method Detail
-
getFetchTaskTimeout
final Duration getFetchTaskTimeout()
-
getPollingDriverTimeout
final Duration getPollingDriverTimeout()
-
getConf
final ImmutableConfig getConf()
-
getConfuser
final ScriptConfuser getConfuser()
-
getDisplayMode
final DisplayMode getDisplayMode()
-
getForceNoSandbox
final Boolean getForceNoSandbox()
-
getInteractSettings
final InteractSettings getInteractSettings()
-
setInteractSettings
final Unit setInteractSettings(InteractSettings interactSettings)
-
getIsHeadless
final Boolean getIsHeadless()
-
getIsStartupScriptEnabled
final Boolean getIsStartupScriptEnabled()
-
getIsSupervised
final Boolean getIsSupervised()
-
getIsUrlBlockingEnabled
final Boolean getIsUrlBlockingEnabled()
-
getIsUserAgentOverridingEnabled
final Boolean getIsUserAgentOverridingEnabled()
-
getNoSandbox
final Boolean getNoSandbox()
-
getPageLoadStrategy
final String getPageLoadStrategy()
-
setPageLoadStrategy
final Unit setPageLoadStrategy(String pageLoadStrategy)
-
getPreloadJs
final String getPreloadJs()
-
setPreloadJs
final Unit setPreloadJs(String preloadJs)
-
getResourceBlockProbability
final Float getResourceBlockProbability()
-
getScriptLoader
final ScriptLoader getScriptLoader()
-
getSupervisorProcess
final String getSupervisorProcess()
-
getSupervisorProcessArgs
final Collection<String> getSupervisorProcessArgs()
-
getUserAgent
final UserAgent getUserAgent()
-
formatViewPort
String formatViewPort(String delimiter)
-
createGeneralOptions
Map<String, Object> createGeneralOptions()
-
createChromeOptions
ChromeOptions createChromeOptions(Map<String, Object> generalOptions)
-
-
-
-