Class WindowStub

java.lang.Object
net.thucydides.core.webdriver.stubs.WindowStub
All Implemented Interfaces:
org.openqa.selenium.WebDriver.Window

public class WindowStub extends Object implements org.openqa.selenium.WebDriver.Window
  • Constructor Details

    • WindowStub

      public WindowStub()
  • Method Details

    • setSize

      public void setSize(org.openqa.selenium.Dimension targetSize)
      Specified by:
      setSize in interface org.openqa.selenium.WebDriver.Window
    • setPosition

      public void setPosition(org.openqa.selenium.Point targetPosition)
      Specified by:
      setPosition in interface org.openqa.selenium.WebDriver.Window
    • getSize

      public org.openqa.selenium.Dimension getSize()
      Specified by:
      getSize in interface org.openqa.selenium.WebDriver.Window
    • getPosition

      public org.openqa.selenium.Point getPosition()
      Specified by:
      getPosition in interface org.openqa.selenium.WebDriver.Window
    • maximize

      public void maximize()
      Specified by:
      maximize in interface org.openqa.selenium.WebDriver.Window
    • fullscreen

      public void fullscreen()
      Specified by:
      fullscreen in interface org.openqa.selenium.WebDriver.Window