Class WebDriverSettings
-
- All Implemented Interfaces:
@Deprecated(message = "Use BrowserSettings instead", replaceWith = @ReplaceWith(imports = {}, expression = "BrowserSettings")) public class WebDriverSettings extends BrowserSettings
A 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 }
-
-
Field Summary
Fields Modifier and Type Field Description private final ImmutableConfigconfigprivate final ScriptConfuserconfuserprivate final DisplayModedisplayModeprivate final DurationfetchTaskTimeoutprivate final InteractSettingsinteractSettingsprivate final BooleanisGUIprivate final BooleanisHeadlessprivate final BooleanisSPAprivate final BooleanisStartupScriptEnabledprivate final BooleanisSupervisedprivate final BooleanisUserAgentOverridingEnabledprivate final BooleannoSandboxprivate StringpageLoadStrategyprivate final DurationpollingDriverTimeoutprivate final FloatresourceBlockProbabilityprivate final ScriptLoaderscriptLoaderprivate final StringsupervisorProcessprivate final Collection<String>supervisorProcessArgsprivate final UserAgentuserAgentprivate final DimensionviewportSize
-
Constructor Summary
Constructors Constructor Description WebDriverSettings(ImmutableConfig conf)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class ai.platon.pulsar.browser.common.BrowserSettings
createChromeOptions, createGeneralOptions, formatViewPort, getConfig, getConfuser, getDisplayMode, getFetchTaskTimeout, getInteractSettings, getNoSandbox, getPageLoadStrategy, getPollingDriverTimeout, getResourceBlockProbability, getScriptLoader, getSupervisorProcess, getSupervisorProcessArgs, getUserAgent, getViewportSize, isGUI, isHeadless, isSPA, isStartupScriptEnabled, isSupervised, isUserAgentOverridingEnabled, setPageLoadStrategy -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-