Package org.openqa.selenium.htmlunit
Class HtmlUnitTargetLocator
- java.lang.Object
-
- org.openqa.selenium.htmlunit.HtmlUnitTargetLocator
-
- All Implemented Interfaces:
org.openqa.selenium.WebDriver.TargetLocator
public class HtmlUnitTargetLocator extends Object implements org.openqa.selenium.WebDriver.TargetLocator
HtmlUnit target locator.- Author:
- Martin Bartoš, Ronald Brill
-
-
Constructor Summary
Constructors Constructor Description HtmlUnitTargetLocator(HtmlUnitDriver driver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openqa.selenium.WebElement
activeElement()
org.openqa.selenium.Alert
alert()
org.openqa.selenium.WebDriver
defaultContent()
org.openqa.selenium.WebDriver
frame(int index)
org.openqa.selenium.WebDriver
frame(String nameOrId)
org.openqa.selenium.WebDriver
frame(org.openqa.selenium.WebElement frameElement)
org.openqa.selenium.WebDriver
newWindow(org.openqa.selenium.WindowType typeHint)
org.openqa.selenium.WebDriver
parentFrame()
org.openqa.selenium.WebDriver
window(String windowId)
-
-
-
Constructor Detail
-
HtmlUnitTargetLocator
public HtmlUnitTargetLocator(HtmlUnitDriver driver)
-
-
Method Detail
-
newWindow
public org.openqa.selenium.WebDriver newWindow(org.openqa.selenium.WindowType typeHint)
- Specified by:
newWindow
in interfaceorg.openqa.selenium.WebDriver.TargetLocator
-
frame
public org.openqa.selenium.WebDriver frame(int index)
- Specified by:
frame
in interfaceorg.openqa.selenium.WebDriver.TargetLocator
-
frame
public org.openqa.selenium.WebDriver frame(String nameOrId)
- Specified by:
frame
in interfaceorg.openqa.selenium.WebDriver.TargetLocator
-
frame
public org.openqa.selenium.WebDriver frame(org.openqa.selenium.WebElement frameElement)
- Specified by:
frame
in interfaceorg.openqa.selenium.WebDriver.TargetLocator
-
parentFrame
public org.openqa.selenium.WebDriver parentFrame()
- Specified by:
parentFrame
in interfaceorg.openqa.selenium.WebDriver.TargetLocator
-
window
public org.openqa.selenium.WebDriver window(String windowId)
- Specified by:
window
in interfaceorg.openqa.selenium.WebDriver.TargetLocator
-
defaultContent
public org.openqa.selenium.WebDriver defaultContent()
- Specified by:
defaultContent
in interfaceorg.openqa.selenium.WebDriver.TargetLocator
-
activeElement
public org.openqa.selenium.WebElement activeElement()
- Specified by:
activeElement
in interfaceorg.openqa.selenium.WebDriver.TargetLocator
-
alert
public org.openqa.selenium.Alert alert()
- Specified by:
alert
in interfaceorg.openqa.selenium.WebDriver.TargetLocator
-
-