Class InternetExplorerDriver

java.lang.Object
org.openqa.selenium.remote.RemoteWebDriver
org.openqa.selenium.ie.InternetExplorerDriver
All Implemented Interfaces:
org.openqa.selenium.federatedcredentialmanagement.HasFederatedCredentialManagement, org.openqa.selenium.HasCapabilities, org.openqa.selenium.HasDownloads, org.openqa.selenium.interactions.Interactive, org.openqa.selenium.JavascriptExecutor, org.openqa.selenium.PrintsPage, org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.virtualauthenticator.HasVirtualAuthenticator, org.openqa.selenium.WebDriver

public class InternetExplorerDriver extends org.openqa.selenium.remote.RemoteWebDriver
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.openqa.selenium.remote.RemoteWebDriver

    org.openqa.selenium.remote.RemoteWebDriver.RemoteTargetLocator, org.openqa.selenium.remote.RemoteWebDriver.RemoteWebDriverOptions, org.openqa.selenium.remote.RemoteWebDriver.When

    Nested classes/interfaces inherited from interface org.openqa.selenium.WebDriver

    org.openqa.selenium.WebDriver.Navigation, org.openqa.selenium.WebDriver.Options, org.openqa.selenium.WebDriver.TargetLocator, org.openqa.selenium.WebDriver.Timeouts, org.openqa.selenium.WebDriver.Window
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Capability that defines timeout in milliseconds for attaching to new browser window.
    static final String
    Capability that defines how elements are scrolled into view in the InternetExplorerDriver.
    static final String
    Capability that defines to use or not cleanup of element cache on document loading.
    static final String
    Capability that defines to use persistent hovering or not.
    static final String
    Capability that defines launch API of IE used by IEDriverServer.
    static final String
    Capability that defines to clean or not browser cache before launching IE by IEDriverServer.
    static final String
    Capability that defines used IE CLI switches when FORCE_CREATE_PROCESS is enabled.
    static final String
    Capability that defines setting the proxy information for a single IE process without affecting the proxy settings of other instances of IE.
    static final String
    Capability that defines whether to ignore the browser zoom level or not.
    static final String
    Capability that defines the initial URL to be used when IE is launched.
    static final String
    Capability that defines to ignore browser protected mode settings during starting by IEDriverServer.
    static final String
    Deprecated.
    Non W3C compliant
    static final String
    Capability that defines to focus to browser window or not before operation.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
     
    InternetExplorerDriver(InternetExplorerDriverService service, InternetExplorerOptions options, org.openqa.selenium.remote.http.ClientConfig clientConfig)
    Creates a new InternetExplorerDriver instance with the specified options.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    static org.openqa.selenium.remote.RemoteWebDriverBuilder
     
    void
    setFileDetector(org.openqa.selenium.remote.FileDetector detector)
     

    Methods inherited from class org.openqa.selenium.remote.RemoteWebDriver

    addVirtualAuthenticator, close, deleteDownloadableFiles, downloadFile, execute, execute, execute, executeAsyncScript, executeScript, executeScript, findElement, findElements, findElements, get, getCapabilities, getCommandExecutor, getCurrentUrl, getDownloadableFiles, getElementConverter, getErrorHandler, getExecuteMethod, getFederatedCredentialManagementDialog, getFileDetector, getPageSource, getScreenshotAs, getSessionId, getTitle, getWindowHandle, getWindowHandles, log, manage, navigate, perform, pin, print, quit, removeVirtualAuthenticator, resetCooldown, resetInputState, setCommandExecutor, setDelayEnabled, setElementConverter, setErrorHandler, setFoundBy, setLogLevel, setSessionId, startSession, switchTo, toString, unpin

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.openqa.selenium.HasDownloads

    requireDownloadsEnabled

    Methods inherited from interface org.openqa.selenium.JavascriptExecutor

    getPinnedScripts
  • Field Details

    • IGNORE_ZOOM_SETTING

      public static final String IGNORE_ZOOM_SETTING
      Capability that defines whether to ignore the browser zoom level or not.
      See Also:
    • NATIVE_EVENTS

      @Deprecated public static final String NATIVE_EVENTS
      Deprecated.
      Non W3C compliant
      Capability that defines to use whether to use native or javascript events during operations.
      See Also:
    • INITIAL_BROWSER_URL

      public static final String INITIAL_BROWSER_URL
      Capability that defines the initial URL to be used when IE is launched.
      See Also:
    • ELEMENT_SCROLL_BEHAVIOR

      public static final String ELEMENT_SCROLL_BEHAVIOR
      Capability that defines how elements are scrolled into view in the InternetExplorerDriver.
      See Also:
    • ENABLE_ELEMENT_CACHE_CLEANUP

      public static final String ENABLE_ELEMENT_CACHE_CLEANUP
      Capability that defines to use or not cleanup of element cache on document loading.
      See Also:
    • BROWSER_ATTACH_TIMEOUT

      public static final String BROWSER_ATTACH_TIMEOUT
      Capability that defines timeout in milliseconds for attaching to new browser window.
      See Also:
    • INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS

      public static final String INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS
      Capability that defines to ignore browser protected mode settings during starting by IEDriverServer.

      Setting this capability will make your tests unstable and hard to debug.

      See Also:
    • ENABLE_PERSISTENT_HOVERING

      public static final String ENABLE_PERSISTENT_HOVERING
      Capability that defines to use persistent hovering or not.
      See Also:
    • REQUIRE_WINDOW_FOCUS

      public static final String REQUIRE_WINDOW_FOCUS
      Capability that defines to focus to browser window or not before operation.
      See Also:
    • FORCE_CREATE_PROCESS

      public static final String FORCE_CREATE_PROCESS
      Capability that defines launch API of IE used by IEDriverServer.
      See Also:
    • IE_ENSURE_CLEAN_SESSION

      public static final String IE_ENSURE_CLEAN_SESSION
      Capability that defines to clean or not browser cache before launching IE by IEDriverServer.
      See Also:
    • IE_USE_PER_PROCESS_PROXY

      public static final String IE_USE_PER_PROCESS_PROXY
      Capability that defines setting the proxy information for a single IE process without affecting the proxy settings of other instances of IE.
      See Also:
    • IE_SWITCHES

      public static final String IE_SWITCHES
      Capability that defines used IE CLI switches when FORCE_CREATE_PROCESS is enabled.
      See Also:
  • Constructor Details

    • InternetExplorerDriver

      public InternetExplorerDriver()
    • InternetExplorerDriver

      public InternetExplorerDriver(InternetExplorerOptions options)
    • InternetExplorerDriver

      public InternetExplorerDriver(InternetExplorerDriverService service)
    • InternetExplorerDriver

      public InternetExplorerDriver(InternetExplorerDriverService service, InternetExplorerOptions options)
    • InternetExplorerDriver

      public InternetExplorerDriver(InternetExplorerDriverService service, InternetExplorerOptions options, org.openqa.selenium.remote.http.ClientConfig clientConfig)
      Creates a new InternetExplorerDriver instance with the specified options. The service will be started along with the driver, and shutdown upon calling RemoteWebDriver.quit().
      Parameters:
      service - The service to use.
      options - The options required from InternetExplorerDriver.
  • Method Details

    • builder

      @Beta public static org.openqa.selenium.remote.RemoteWebDriverBuilder builder()
    • setFileDetector

      public void setFileDetector(org.openqa.selenium.remote.FileDetector detector)
      Overrides:
      setFileDetector in class org.openqa.selenium.remote.RemoteWebDriver
    • assertOnWindows

      protected void assertOnWindows()