Class WindowStub

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

public class WindowStub
extends java.lang.Object
implements org.openqa.selenium.WebDriver.Window
  • Constructor Summary

    Constructors
    Constructor Description
    WindowStub()  
  • Method Summary

    Modifier and Type Method Description
    void fullscreen()  
    org.openqa.selenium.Point getPosition()  
    org.openqa.selenium.Dimension getSize()  
    void maximize()  
    void setPosition​(org.openqa.selenium.Point targetPosition)  
    void setSize​(org.openqa.selenium.Dimension targetSize)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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