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 Details Link icon

  • Constructor Details Link icon

    • InternetExplorerOptions Link icon

      public InternetExplorerOptions()
    • InternetExplorerOptions Link icon

      public InternetExplorerOptions(org.openqa.selenium.Capabilities source)
  • Method Details Link icon

    • merge Link icon

      public InternetExplorerOptions merge(org.openqa.selenium.Capabilities extraCapabilities)
      Specified by:
      merge in interface org.openqa.selenium.Capabilities
      Overrides:
      merge in class org.openqa.selenium.MutableCapabilities
    • withAttachTimeout Link icon

      public InternetExplorerOptions withAttachTimeout(long duration, TimeUnit unit)
    • withAttachTimeout Link icon

      public InternetExplorerOptions withAttachTimeout(Duration duration)
    • elementScrollTo Link icon

      public InternetExplorerOptions elementScrollTo(ElementScrollBehavior behavior)
    • enablePersistentHovering Link icon

      public InternetExplorerOptions enablePersistentHovering()
      Enable persistently sending WM_MOUSEMOVE messages to the IE window during a mouse hover.
    • useCreateProcessApiToLaunchIe Link icon

      public InternetExplorerOptions useCreateProcessApiToLaunchIe()
      Force the use of the Windows CreateProcess API when launching Internet Explorer.
    • useShellWindowsApiToAttachToIe Link icon

      public InternetExplorerOptions useShellWindowsApiToAttachToIe()
      Use the Windows ShellWindows API when attaching to Internet Explorer.
    • destructivelyEnsureCleanSession Link icon

      public InternetExplorerOptions 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 Link icon

      public InternetExplorerOptions addCommandSwitches(String... switches)
    • usePerProcessProxy Link icon

      public InternetExplorerOptions usePerProcessProxy()
      Use the 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
    • withInitialBrowserUrl Link icon

      public InternetExplorerOptions withInitialBrowserUrl(String url)
    • requireWindowFocus Link icon

      public InternetExplorerOptions requireWindowFocus()
    • waitForUploadDialogUpTo Link icon

      public InternetExplorerOptions waitForUploadDialogUpTo(long duration, TimeUnit unit)
    • waitForUploadDialogUpTo Link icon

      public InternetExplorerOptions waitForUploadDialogUpTo(Duration duration)
    • introduceFlakinessByIgnoringSecurityDomains Link icon

      public InternetExplorerOptions introduceFlakinessByIgnoringSecurityDomains()
    • ignoreZoomSettings Link icon

      public InternetExplorerOptions ignoreZoomSettings()
    • takeFullPageScreenshot Link icon

      public InternetExplorerOptions takeFullPageScreenshot()
    • useLegacyUploadDialog Link icon

      public InternetExplorerOptions useLegacyUploadDialog()
    • attachToEdgeChrome Link icon

      public InternetExplorerOptions attachToEdgeChrome()
    • ignoreProcessMatch Link icon

      public InternetExplorerOptions ignoreProcessMatch()
    • withEdgeExecutablePath Link icon

      public InternetExplorerOptions withEdgeExecutablePath(String path)
    • setCapability Link icon

      public void setCapability(String key, Object value)
      Overrides:
      setCapability in class org.openqa.selenium.MutableCapabilities
    • getExtraCapabilityNames Link icon

      protected Set<String> getExtraCapabilityNames()
      Specified by:
      getExtraCapabilityNames in class org.openqa.selenium.remote.AbstractDriverOptions<InternetExplorerOptions>
    • getExtraCapability Link icon

      protected Object getExtraCapability(String capabilityName)
      Specified by:
      getExtraCapability in class org.openqa.selenium.remote.AbstractDriverOptions<InternetExplorerOptions>