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,Capabilities
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(Capabilities extraCapabilities) Merge twoCapabilitiestogether and return the union of the two as a newCapabilitiesinstance.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, setEnableDownloads, 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
-
-
Method Details
-
merge
Description copied from class:MutableCapabilitiesMerge twoCapabilitiestogether and return the union of the two as a newCapabilitiesinstance. Capabilities fromotherwill override those inthis.- Specified by:
mergein interfaceCapabilities- Overrides:
mergein classMutableCapabilities
-
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 of -
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 classMutableCapabilities
-
getExtraCapabilityNames
- Specified by:
getExtraCapabilityNamesin classAbstractDriverOptions<InternetExplorerOptions>
-
getExtraCapability
- Specified by:
getExtraCapabilityin classAbstractDriverOptions<InternetExplorerOptions>
-