public class HtmlUnitTargetLocator extends Object implements org.openqa.selenium.WebDriver.TargetLocator
Modifier and Type | Field and Description |
---|---|
protected HtmlUnitDriver |
driver |
Constructor and Description |
---|
HtmlUnitTargetLocator(HtmlUnitDriver driver) |
Modifier and Type | Method and 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) |
protected final HtmlUnitDriver driver
public HtmlUnitTargetLocator(HtmlUnitDriver driver)
public org.openqa.selenium.WebDriver newWindow(org.openqa.selenium.WindowType typeHint)
newWindow
in interface org.openqa.selenium.WebDriver.TargetLocator
public org.openqa.selenium.WebDriver frame(int index)
frame
in interface org.openqa.selenium.WebDriver.TargetLocator
public org.openqa.selenium.WebDriver frame(String nameOrId)
frame
in interface org.openqa.selenium.WebDriver.TargetLocator
public org.openqa.selenium.WebDriver frame(org.openqa.selenium.WebElement frameElement)
frame
in interface org.openqa.selenium.WebDriver.TargetLocator
public org.openqa.selenium.WebDriver parentFrame()
parentFrame
in interface org.openqa.selenium.WebDriver.TargetLocator
public org.openqa.selenium.WebDriver window(String windowId)
window
in interface org.openqa.selenium.WebDriver.TargetLocator
public org.openqa.selenium.WebDriver defaultContent()
defaultContent
in interface org.openqa.selenium.WebDriver.TargetLocator
public org.openqa.selenium.WebElement activeElement()
activeElement
in interface org.openqa.selenium.WebDriver.TargetLocator
public org.openqa.selenium.Alert alert()
alert
in interface org.openqa.selenium.WebDriver.TargetLocator
Copyright © 2021. All rights reserved.