org.openqa.selenium.ie
Class InternetExplorerDriver
java.lang.Object
org.openqa.selenium.remote.RemoteWebDriver
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
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 |
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
InternetExplorerDriver
public InternetExplorerDriver()
InternetExplorerDriver
public InternetExplorerDriver(Capabilities capabilities)
InternetExplorerDriver
public InternetExplorerDriver(int port)
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.