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:
HasCapabilities, HasInputDevices, FindsByClassName, FindsByCssSelector, FindsById, FindsByLinkText, FindsByName, FindsByTagName, FindsByXPath, JavascriptExecutor, SearchContext, TakesScreenshot, WebDriver

public class InternetExplorerDriver
extends RemoteWebDriver
implements TakesScreenshot


Nested Class Summary
 
Nested classes/interfaces inherited from class org.openqa.selenium.remote.RemoteWebDriver
RemoteWebDriver.RemoteMouse, RemoteWebDriver.RemoteTargetLocator, RemoteWebDriver.RemoteWebDriverOptions
 
Nested classes/interfaces inherited from interface org.openqa.selenium.WebDriver
WebDriver.ImeHandler, WebDriver.Navigation, WebDriver.Options, WebDriver.TargetLocator, WebDriver.Timeouts
 
Field Summary
static String INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS
          Setting this capability will make your tests unstable and hard to debug.
 
Constructor Summary
InternetExplorerDriver()
           
InternetExplorerDriver(Capabilities capabilities)
           
InternetExplorerDriver(int port)
           
 
Method Summary
protected  void assertOnWindows()
           
<X> X
getScreenshotAs(OutputType<X> target)
          Capture the screenshot and store it in the specified location.
protected  void startClient()
          Method called before starting a new session.
protected  void stopClient()
          Method called after executing a RemoteWebDriver.quit() command.
 
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, getKeyboard, getMouse, getPageSource, getSessionId, getTitle, getWindowHandle, getWindowHandles, log, manage, navigate, newRemoteWebElement, quit, setCommandExecutor, setElementConverter, startSession, switchTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS

public static final String INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS
Setting this capability will make your tests unstable and hard to debug.

See Also:
Constant Field Values
Constructor Detail

InternetExplorerDriver

public InternetExplorerDriver()

InternetExplorerDriver

public InternetExplorerDriver(Capabilities capabilities)

InternetExplorerDriver

public InternetExplorerDriver(int port)
Method Detail

getScreenshotAs

public <X> X getScreenshotAs(OutputType<X> target)
Description copied from interface: TakesScreenshot
Capture the screenshot and store it in the specified location.

Specified by:
getScreenshotAs in interface TakesScreenshot
Type Parameters:
X - Return type for getScreenshotAs.
Parameters:
target - target type, @see OutputType
Returns:
Object in which is stored information about the screenshot.

assertOnWindows

protected void assertOnWindows()

startClient

protected void startClient()
Description copied from class: RemoteWebDriver
Method called before starting a new session. The default implementation is a no-op, but subtypes should override this method to define custom behavior.

Overrides:
startClient in class RemoteWebDriver

stopClient

protected void stopClient()
Description copied from class: RemoteWebDriver
Method called after executing a RemoteWebDriver.quit() command. Subtypes

Overrides:
stopClient in class RemoteWebDriver


Copyright © 2011. All Rights Reserved.