@Beta
public class InternetExplorerOptions
extends java.lang.Object
InternetExplorerOptions options = new InternetExplorerOptions() .requireWindowFocus(); new InternetExplorerDriver(options.merge(DesiredCapabilities.internetExplorer());
Constructor and Description |
---|
InternetExplorerOptions() |
InternetExplorerOptions(org.openqa.selenium.Capabilities source) |
Modifier and Type | Method and Description |
---|---|
InternetExplorerOptions |
addCommandSwitches(java.lang.String... switches) |
java.util.Map<java.lang.String,?> |
asMap() |
InternetExplorerOptions |
destructivelyEnsureCleanSession()
Clear the Internet Explorer cache before launching the browser.
|
InternetExplorerOptions |
elementScrollTo(org.openqa.selenium.internal.ElementScrollBehavior behavior) |
InternetExplorerOptions |
enableNativeEvents() |
InternetExplorerOptions |
enablePersistentHovering()
Enable persistently sending
WM_MOUSEMOVE messages to the IE window during a mouse
hover. |
InternetExplorerOptions |
ignoreZoomSettings() |
InternetExplorerOptions |
introduceFlakinessByIgnoringSecurityDomains() |
org.openqa.selenium.Capabilities |
merge(org.openqa.selenium.Capabilities other) |
InternetExplorerOptions |
requireWindowFocus() |
InternetExplorerOptions |
takeFullPageScreenshot() |
InternetExplorerOptions |
useCreateProcessApiToLaunchIe()
Force the use of the Windows CreateProcess API when launching Internet Explorer.
|
InternetExplorerOptions |
usePerProcessProxy()
Use the
Proxy defined in other Capabilities on a
per-process basis, not updating the system installed proxy setting. |
InternetExplorerOptions |
useShellWindowsApiToAttachToIe()
Use the Windows ShellWindows API when attaching to Internet Explorer.
|
InternetExplorerOptions |
waitForUploadDialogUpTo(java.time.Duration duration) |
InternetExplorerOptions |
waitForUploadDialogUpTo(long duration,
java.util.concurrent.TimeUnit unit) |
InternetExplorerOptions |
withAttachTimeout(java.time.Duration duration) |
InternetExplorerOptions |
withAttachTimeout(long duration,
java.util.concurrent.TimeUnit unit) |
InternetExplorerOptions |
withInitialBrowserUrl(java.lang.String url) |
public InternetExplorerOptions()
public InternetExplorerOptions(org.openqa.selenium.Capabilities source)
public InternetExplorerOptions withAttachTimeout(long duration, java.util.concurrent.TimeUnit unit)
public InternetExplorerOptions withAttachTimeout(java.time.Duration duration)
public InternetExplorerOptions elementScrollTo(org.openqa.selenium.internal.ElementScrollBehavior behavior)
public InternetExplorerOptions enablePersistentHovering()
WM_MOUSEMOVE
messages to the IE window during a mouse
hover.public InternetExplorerOptions useCreateProcessApiToLaunchIe()
public InternetExplorerOptions useShellWindowsApiToAttachToIe()
public InternetExplorerOptions destructivelyEnsureCleanSession()
public InternetExplorerOptions addCommandSwitches(java.lang.String... switches)
public InternetExplorerOptions usePerProcessProxy()
Proxy
defined in other Capabilities
on a
per-process basis, not updating the system installed proxy setting. This is only valid when
setting a Proxy
where the
Proxy.ProxyType
is one of
Proxy.ProxyType.DIRECT
Proxy.ProxyType.MANUAL
Proxy.ProxyType.SYSTEM
public InternetExplorerOptions withInitialBrowserUrl(java.lang.String url)
public InternetExplorerOptions requireWindowFocus()
public InternetExplorerOptions waitForUploadDialogUpTo(long duration, java.util.concurrent.TimeUnit unit)
public InternetExplorerOptions waitForUploadDialogUpTo(java.time.Duration duration)
public InternetExplorerOptions introduceFlakinessByIgnoringSecurityDomains()
public InternetExplorerOptions enableNativeEvents()
public InternetExplorerOptions ignoreZoomSettings()
public InternetExplorerOptions takeFullPageScreenshot()
public org.openqa.selenium.Capabilities merge(org.openqa.selenium.Capabilities other)
public java.util.Map<java.lang.String,?> asMap()