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 Details

    • TargetLocatorStub

      public TargetLocatorStub(org.openqa.selenium.WebDriver webDriver)
  • Method Details

    • frame

      public org.openqa.selenium.WebDriver frame(int index)
      Specified by:
      frame in interface org.openqa.selenium.WebDriver.TargetLocator
    • frame

      public org.openqa.selenium.WebDriver frame(String nameOrId)
      Specified by:
      frame in interface org.openqa.selenium.WebDriver.TargetLocator
    • frame

      public org.openqa.selenium.WebDriver frame(org.openqa.selenium.WebElement frameElement)
      Specified by:
      frame in interface org.openqa.selenium.WebDriver.TargetLocator
    • parentFrame

      public org.openqa.selenium.WebDriver parentFrame()
      Specified by:
      parentFrame in interface org.openqa.selenium.WebDriver.TargetLocator
    • window

      public org.openqa.selenium.WebDriver window(String nameOrHandle)
      Specified by:
      window in interface org.openqa.selenium.WebDriver.TargetLocator
    • defaultContent

      public org.openqa.selenium.WebDriver defaultContent()
      Specified by:
      defaultContent in interface org.openqa.selenium.WebDriver.TargetLocator
    • activeElement

      public org.openqa.selenium.WebElement activeElement()
      Specified by:
      activeElement in interface org.openqa.selenium.WebDriver.TargetLocator
    • alert

      public org.openqa.selenium.Alert alert()
      Specified by:
      alert in interface org.openqa.selenium.WebDriver.TargetLocator