@Beta public class InternetExplorerOptions extends MutableCapabilities
InternetExplorerOptions options = new InternetExplorerOptions() .requireWindowFocus(); new InternetExplorerDriver(options);
Constructor and Description |
---|
InternetExplorerOptions() |
InternetExplorerOptions(Capabilities source) |
amendHashCode, asMap, equals, getCapability, hashCode, merge, setCapability, setCapability, setCapability, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getBrowserName, getPlatform, getVersion, is, isJavascriptEnabled
public InternetExplorerOptions()
public InternetExplorerOptions(Capabilities source)
public InternetExplorerOptions withAttachTimeout(long duration, java.util.concurrent.TimeUnit unit)
public InternetExplorerOptions withAttachTimeout(java.time.Duration duration)
public InternetExplorerOptions elementScrollTo(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
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 InternetExplorerOptions setPageLoadStrategy(PageLoadStrategy strategy)
public InternetExplorerOptions setUnhandledPromptBehaviour(UnexpectedAlertBehaviour behaviour)
public void setCapability(java.lang.String key, java.lang.Object value)
setCapability
in class MutableCapabilities