org.openqa.selenium.ie
Class InternetExplorerDriver

java.lang.Object
  extended by org.openqa.selenium.remote.RemoteWebDriver
      extended by org.openqa.selenium.ie.InternetExplorerDriver
All Implemented Interfaces:
org.openqa.selenium.HasCapabilities, org.openqa.selenium.interactions.HasInputDevices, org.openqa.selenium.internal.FindsByClassName, org.openqa.selenium.internal.FindsByCssSelector, org.openqa.selenium.internal.FindsById, org.openqa.selenium.internal.FindsByLinkText, org.openqa.selenium.internal.FindsByName, org.openqa.selenium.internal.FindsByTagName, org.openqa.selenium.internal.FindsByXPath, org.openqa.selenium.JavascriptExecutor, org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebDriver

public class InternetExplorerDriver
extends RemoteWebDriver
implements org.openqa.selenium.TakesScreenshot


Nested Class Summary
 
Nested classes/interfaces inherited from class org.openqa.selenium.remote.RemoteWebDriver
RemoteWebDriver.RemoteTargetLocator, RemoteWebDriver.RemoteWebDriverOptions, RemoteWebDriver.When
 
Nested classes/interfaces inherited from interface org.openqa.selenium.WebDriver
org.openqa.selenium.WebDriver.ImeHandler, 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
static String BROWSER_ATTACH_TIMEOUT
          Capability that defines timeout in milliseconds for attaching to new browser window.
static String ELEMENT_SCROLL_BEHAVIOR
          Capability that defines initial browser URL.
static String ENABLE_ELEMENT_CACHE_CLEANUP
          Capability that defines to use or not cleanup of element cache on document loading.
static String ENABLE_PERSISTENT_HOVERING
          Capability that defines to use persistent hovering or not.
static String EXTRACT_PATH
          Capability that defines full path to directory to which will be extracted supporting files of the IEDriverServer.
static String FORCE_CREATE_PROCESS
          Capability that defines launch API of IE used by IEDriverServer.
static String HOST
          Capability that defines the address of the host adapter on which the IEDriverServer will listen for commands.
static String IE_ENSURE_CLEAN_SESSION
          Capability that defines to clean browser cache before launching IE by IEDriverServer.
static String IE_SET_PROXY_BY_SERVER
          Deprecated. please set this option as True and allow IEDriverServer sets up proxy. In next releases it will be set to True by default. Capability that defines used proxy setter. Currently it's False by default. False means WindowsProxyManager will be used for setting proxy settings. True means IEDriverServer will be used for setting proxy settings. Be note that using both variants in concurrent drivers at the same node may lead to undefined behaviour.
static String IE_SWITCHES
          Capability that defines used IE CLI switches.
static String IE_USE_PRE_PROCESS_PROXY
          Capability that defines setting the proxy information for a single IE process without affecting the proxy settings of other instances of IE.
static String IGNORE_ZOOM_SETTING
          Capability that defines to ignore or not browser zoom level.
static String INITIAL_BROWSER_URL
          Capability that defines to ignore or not browser zoom level.
static String INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS
          Capability that defines to ignore ot not browser protected mode settings during starting by IEDriverServer.
static String LOG_FILE
          Capability that defines the location of the file where IEDriverServer should write log messages to.
static String LOG_LEVEL
          Capability that defines the detalization level the IEDriverServer logs.
static String NATIVE_EVENTS
          Capability that defines to use native or javascript events during operations..
static String REQUIRE_WINDOW_FOCUS
          Capability that defines to focus to browser window or not before operation.
static String SILENT
          Capability that defines suppress or not diagnostic output of the IEDriverServer.
static String UNEXPECTED_ALERT_BEHAVIOR
          Capability that defines which behaviour will be used if unexpected Alert is found.
 
Constructor Summary
InternetExplorerDriver()
           
InternetExplorerDriver(org.openqa.selenium.Capabilities capabilities)
           
InternetExplorerDriver(int port)
           
InternetExplorerDriver(InternetExplorerDriverService service)
           
InternetExplorerDriver(InternetExplorerDriverService service, org.openqa.selenium.Capabilities capabilities)
           
InternetExplorerDriver(WindowsProxyManager proxy, InternetExplorerDriverService service, org.openqa.selenium.Capabilities capabilities, int port)
           
 
Method Summary
protected  void assertOnWindows()
           
<X> X
getScreenshotAs(org.openqa.selenium.OutputType<X> target)
           
 void setFileDetector(FileDetector detector)
           
 
Methods inherited from class org.openqa.selenium.remote.RemoteWebDriver
close, execute, execute, executeAsyncScript, executeScript, findElement, findElement, findElementByClassName, findElementByCssSelector, findElementById, findElementByLinkText, findElementByName, findElementByPartialLinkText, findElementByTagName, findElementByXPath, findElements, findElements, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByLinkText, findElementsByName, findElementsByPartialLinkText, findElementsByTagName, findElementsByXPath, get, getCapabilities, getCommandExecutor, getCurrentUrl, getElementConverter, getErrorHandler, getExecuteMethod, getFileDetector, getKeyboard, getMouse, getPageSource, getRemoteStatus, getSessionId, getTitle, getWindowHandle, getWindowHandles, log, manage, navigate, quit, setCommandExecutor, setElementConverter, setFoundBy, setLogLevel, setSessionId, startClient, startSession, startSession, stopClient, switchTo, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

IGNORE_ZOOM_SETTING

public static final String IGNORE_ZOOM_SETTING
Capability that defines to ignore or not browser zoom level.

See Also:
Constant Field Values

NATIVE_EVENTS

public static final String NATIVE_EVENTS
Capability that defines to use native or javascript events during operations..

See Also:
Constant Field Values

INITIAL_BROWSER_URL

public static final String INITIAL_BROWSER_URL
Capability that defines to ignore or not browser zoom level.

See Also:
Constant Field Values

ELEMENT_SCROLL_BEHAVIOR

public static final String ELEMENT_SCROLL_BEHAVIOR
Capability that defines initial browser URL.

See Also:
Constant Field Values

UNEXPECTED_ALERT_BEHAVIOR

public static final String UNEXPECTED_ALERT_BEHAVIOR
Capability that defines which behaviour will be used if unexpected Alert is found.

See Also:
Constant Field Values

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:
Constant Field Values

BROWSER_ATTACH_TIMEOUT

public static final String BROWSER_ATTACH_TIMEOUT
Capability that defines timeout in milliseconds for attaching to new browser window.

See Also:
Constant Field Values

INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS

public static final String INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS
Capability that defines to ignore ot not browser protected mode settings during starting by IEDriverServer. Setting this capability will make your tests unstable and hard to debug.

See Also:
Constant Field Values

ENABLE_PERSISTENT_HOVERING

public static final String ENABLE_PERSISTENT_HOVERING
Capability that defines to use persistent hovering or not.

See Also:
Constant Field Values

REQUIRE_WINDOW_FOCUS

public static final String REQUIRE_WINDOW_FOCUS
Capability that defines to focus to browser window or not before operation.

See Also:
Constant Field Values

LOG_FILE

public static final String LOG_FILE
Capability that defines the location of the file where IEDriverServer should write log messages to.

See Also:
Constant Field Values

LOG_LEVEL

public static final String LOG_LEVEL
Capability that defines the detalization level the IEDriverServer logs.

See Also:
Constant Field Values

HOST

public static final String HOST
Capability that defines the address of the host adapter on which the IEDriverServer will listen for commands.

See Also:
Constant Field Values

EXTRACT_PATH

public static final String EXTRACT_PATH
Capability that defines full path to directory to which will be extracted supporting files of the IEDriverServer.

See Also:
Constant Field Values

SILENT

public static final String SILENT
Capability that defines suppress or not diagnostic output of the IEDriverServer.

See Also:
Constant Field Values

FORCE_CREATE_PROCESS

public static final String FORCE_CREATE_PROCESS
Capability that defines launch API of IE used by IEDriverServer.

See Also:
Constant Field Values

IE_ENSURE_CLEAN_SESSION

public static final String IE_ENSURE_CLEAN_SESSION
Capability that defines to clean browser cache before launching IE by IEDriverServer.

See Also:
Constant Field Values

IE_USE_PRE_PROCESS_PROXY

public static final String IE_USE_PRE_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:
Constant Field Values

IE_SWITCHES

public static final String IE_SWITCHES
Capability that defines used IE CLI switches.

See Also:
Constant Field Values

IE_SET_PROXY_BY_SERVER

@Deprecated
public static final String IE_SET_PROXY_BY_SERVER
Deprecated. please set this option as True and allow IEDriverServer sets up proxy. In next releases it will be set to True by default. Capability that defines used proxy setter. Currently it's False by default. False means WindowsProxyManager will be used for setting proxy settings. True means IEDriverServer will be used for setting proxy settings. Be note that using both variants in concurrent drivers at the same node may lead to undefined behaviour.
See Also:
Constant Field Values
Constructor Detail

InternetExplorerDriver

public InternetExplorerDriver()

InternetExplorerDriver

public InternetExplorerDriver(org.openqa.selenium.Capabilities capabilities)

InternetExplorerDriver

public InternetExplorerDriver(int port)

InternetExplorerDriver

public InternetExplorerDriver(InternetExplorerDriverService service)

InternetExplorerDriver

public InternetExplorerDriver(InternetExplorerDriverService service,
                              org.openqa.selenium.Capabilities capabilities)

InternetExplorerDriver

public InternetExplorerDriver(WindowsProxyManager proxy,
                              InternetExplorerDriverService service,
                              org.openqa.selenium.Capabilities capabilities,
                              int port)
Method Detail

setFileDetector

public void setFileDetector(FileDetector detector)
Overrides:
setFileDetector in class RemoteWebDriver

getScreenshotAs

public <X> X getScreenshotAs(org.openqa.selenium.OutputType<X> target)
Specified by:
getScreenshotAs in interface org.openqa.selenium.TakesScreenshot

assertOnWindows

protected void assertOnWindows()


Copyright © 2013. All rights reserved.