Class TargetLocatorStub
java.lang.Object
net.thucydides.core.webdriver.stubs.TargetLocatorStub
- All Implemented Interfaces:
org.openqa.selenium.WebDriver.TargetLocator
public class TargetLocatorStub
extends Object
implements org.openqa.selenium.WebDriver.TargetLocator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.WebElementorg.openqa.selenium.Alertalert()org.openqa.selenium.WebDriverorg.openqa.selenium.WebDriverframe(int index) org.openqa.selenium.WebDriverorg.openqa.selenium.WebDriverframe(org.openqa.selenium.WebElement frameElement) org.openqa.selenium.WebDriverorg.openqa.selenium.WebDriver
-
Constructor Details
-
TargetLocatorStub
public TargetLocatorStub(org.openqa.selenium.WebDriver webDriver)
-
-
Method Details
-
frame
public org.openqa.selenium.WebDriver frame(int index) - Specified by:
framein interfaceorg.openqa.selenium.WebDriver.TargetLocator
-
frame
- Specified by:
framein interfaceorg.openqa.selenium.WebDriver.TargetLocator
-
frame
public org.openqa.selenium.WebDriver frame(org.openqa.selenium.WebElement frameElement) - Specified by:
framein interfaceorg.openqa.selenium.WebDriver.TargetLocator
-
parentFrame
public org.openqa.selenium.WebDriver parentFrame()- Specified by:
parentFramein interfaceorg.openqa.selenium.WebDriver.TargetLocator
-
window
- Specified by:
windowin interfaceorg.openqa.selenium.WebDriver.TargetLocator
-
defaultContent
public org.openqa.selenium.WebDriver defaultContent()- Specified by:
defaultContentin interfaceorg.openqa.selenium.WebDriver.TargetLocator
-
activeElement
public org.openqa.selenium.WebElement activeElement()- Specified by:
activeElementin interfaceorg.openqa.selenium.WebDriver.TargetLocator
-
alert
public org.openqa.selenium.Alert alert()- Specified by:
alertin interfaceorg.openqa.selenium.WebDriver.TargetLocator
-