Package org.openqa.selenium.ie
Class InternetExplorerOptions
java.lang.Object
org.openqa.selenium.MutableCapabilities
org.openqa.selenium.remote.AbstractDriverOptions<InternetExplorerOptions>
org.openqa.selenium.ie.InternetExplorerOptions
- All Implemented Interfaces:
Serializable,org.openqa.selenium.Capabilities
public class InternetExplorerOptions
extends org.openqa.selenium.remote.AbstractDriverOptions<InternetExplorerOptions>
Options for configuring the use of IE. Can be used like so:
InternetExplorerOptions options = new InternetExplorerOptions() .requireWindowFocus(); new InternetExplorerDriver(options);
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCommandSwitches(String... switches) Clear the Internet Explorer cache before launching the browser.Deprecated.Non W3C compliantelementScrollTo(ElementScrollBehavior behavior) Enable persistently sendingWM_MOUSEMOVEmessages to the IE window during a mouse hover.protected ObjectgetExtraCapability(String capabilityName) merge(org.openqa.selenium.Capabilities extraCapabilities) voidsetCapability(String key, Object value) Force the use of the Windows CreateProcess API when launching Internet Explorer.Use theProxydefined in otherCapabilitieson a per-process basis, not updating the system installed proxy setting.Use the Windows ShellWindows API when attaching to Internet Explorer.waitForUploadDialogUpTo(long duration, TimeUnit unit) waitForUploadDialogUpTo(Duration duration) withAttachTimeout(long duration, TimeUnit unit) withAttachTimeout(Duration duration) withEdgeExecutablePath(String path) Methods inherited from class org.openqa.selenium.remote.AbstractDriverOptions
asMap, getCapability, getCapabilityNames, setAcceptInsecureCerts, setBrowserVersion, setImplicitWaitTimeout, setPageLoadStrategy, setPageLoadTimeout, setPlatformName, setProxy, setScriptTimeout, setStrictFileInteractability, setUnhandledPromptBehaviourMethods inherited from class org.openqa.selenium.MutableCapabilities
equals, hashCode, setCapability, setCapability, setCapability, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openqa.selenium.Capabilities
getBrowserName, getBrowserVersion, getPlatformName, is
-
Field Details
-
IE_OPTIONS
- See Also:
-
-
Constructor Details
-
InternetExplorerOptions
public InternetExplorerOptions() -
InternetExplorerOptions
public InternetExplorerOptions(org.openqa.selenium.Capabilities source)
-
-
Method Details
-
merge
- Specified by:
mergein interfaceorg.openqa.selenium.Capabilities- Overrides:
mergein classorg.openqa.selenium.MutableCapabilities
-
withAttachTimeout
-
withAttachTimeout
-
elementScrollTo
-
enablePersistentHovering
Enable persistently sendingWM_MOUSEMOVEmessages to the IE window during a mouse hover. -
useCreateProcessApiToLaunchIe
Force the use of the Windows CreateProcess API when launching Internet Explorer. -
useShellWindowsApiToAttachToIe
Use the Windows ShellWindows API when attaching to Internet Explorer. -
destructivelyEnsureCleanSession
Clear the Internet Explorer cache before launching the browser. When set clears the system cache for all instances of Internet Explorer, even those already running when the driven instance is launched. -
addCommandSwitches
-
usePerProcessProxy
Use theProxydefined in otherCapabilitieson a per-process basis, not updating the system installed proxy setting. This is only valid when setting aProxywhere theProxy.ProxyTypeis one ofProxy.ProxyType.DIRECTProxy.ProxyType.MANUALProxy.ProxyType.SYSTEM
-
withInitialBrowserUrl
-
requireWindowFocus
-
waitForUploadDialogUpTo
-
waitForUploadDialogUpTo
-
introduceFlakinessByIgnoringSecurityDomains
-
disableNativeEvents
Deprecated.Non W3C compliantMethod that defines to use whether to use native or javascript events during operations. -
ignoreZoomSettings
-
takeFullPageScreenshot
-
useLegacyUploadDialog
-
attachToEdgeChrome
-
ignoreProcessMatch
-
withEdgeExecutablePath
-
setCapability
- Overrides:
setCapabilityin classorg.openqa.selenium.MutableCapabilities
-
getExtraCapabilityNames
- Specified by:
getExtraCapabilityNamesin classorg.openqa.selenium.remote.AbstractDriverOptions<InternetExplorerOptions>
-
getExtraCapability
- Specified by:
getExtraCapabilityin classorg.openqa.selenium.remote.AbstractDriverOptions<InternetExplorerOptions>
-