org.openqa.selenium.ie
Class InternetExplorerDriver
java.lang.Object
org.openqa.selenium.ie.InternetExplorerDriver
- All Implemented Interfaces:
- JavascriptExecutor, SearchContext, WebDriver
public class InternetExplorerDriver
- extends java.lang.Object
- implements WebDriver, SearchContext, JavascriptExecutor
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InternetExplorerDriver
public InternetExplorerDriver()
getPageSource
public java.lang.String getPageSource()
- Specified by:
getPageSource in interface WebDriver
close
public void close()
- Specified by:
close in interface WebDriver
quit
public void quit()
- Specified by:
quit in interface WebDriver
getWindowHandles
public java.util.Set<java.lang.String> getWindowHandles()
- Specified by:
getWindowHandles in interface WebDriver
getWindowHandle
public java.lang.String getWindowHandle()
- Specified by:
getWindowHandle in interface WebDriver
executeScript
public java.lang.Object executeScript(java.lang.String script,
java.lang.Object... args)
- Specified by:
executeScript in interface JavascriptExecutor
isJavascriptEnabled
public boolean isJavascriptEnabled()
- Specified by:
isJavascriptEnabled in interface JavascriptExecutor
get
public void get(java.lang.String url)
- Specified by:
get in interface WebDriver
getCurrentUrl
public java.lang.String getCurrentUrl()
- Specified by:
getCurrentUrl in interface WebDriver
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle in interface WebDriver
getVisible
public boolean getVisible()
- Is the browser visible or not?
- Returns:
- True if the browser can be seen, or false otherwise
setVisible
public void setVisible(boolean visible)
- Make the browser visible or not.
- Parameters:
visible - Set whether or not the browser is visible
findElements
public java.util.List<WebElement> findElements(By by)
- Specified by:
findElements in interface SearchContext- Specified by:
findElements in interface WebDriver
findElement
public WebElement findElement(By by)
- Specified by:
findElement in interface SearchContext- Specified by:
findElement in interface WebDriver
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
switchTo
public WebDriver.TargetLocator switchTo()
- Specified by:
switchTo in interface WebDriver
navigate
public WebDriver.Navigation navigate()
- Specified by:
navigate in interface WebDriver
manage
public WebDriver.Options manage()
- Specified by:
manage in interface WebDriver
waitForLoadToComplete
protected void waitForLoadToComplete()
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize in class java.lang.Object
- Throws:
java.lang.Throwable
Copyright © 2009. All Rights Reserved.