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_MOUSEMOVE
messages to the IE window during a mouse hover.protected Object
getExtraCapability
(String capabilityName) merge
(org.openqa.selenium.Capabilities extraCapabilities) void
setCapability
(String key, Object value) Force the use of the Windows CreateProcess API when launching Internet Explorer.Use theProxy
defined in otherCapabilities
on 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, setUnhandledPromptBehaviour
Methods inherited from class org.openqa.selenium.MutableCapabilities
equals, hashCode, setCapability, setCapability, setCapability, toJson, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
merge
in interfaceorg.openqa.selenium.Capabilities
- Overrides:
merge
in classorg.openqa.selenium.MutableCapabilities
-
withAttachTimeout
-
withAttachTimeout
-
elementScrollTo
-
enablePersistentHovering
Enable persistently sendingWM_MOUSEMOVE
messages 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 theProxy
defined in otherCapabilities
on a per-process basis, not updating the system installed proxy setting. This is only valid when setting aProxy
where theProxy.ProxyType
is one ofProxy.ProxyType.DIRECT
Proxy.ProxyType.MANUAL
Proxy.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:
setCapability
in classorg.openqa.selenium.MutableCapabilities
-
getExtraCapabilityNames
- Specified by:
getExtraCapabilityNames
in classorg.openqa.selenium.remote.AbstractDriverOptions<InternetExplorerOptions>
-
getExtraCapability
- Specified by:
getExtraCapability
in classorg.openqa.selenium.remote.AbstractDriverOptions<InternetExplorerOptions>
-