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 voidfullscreen()org.openqa.selenium.PointgetPosition()org.openqa.selenium.DimensiongetSize()voidmaximize()voidsetPosition(org.openqa.selenium.Point targetPosition)voidsetSize(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:
setSizein interfaceorg.openqa.selenium.WebDriver.Window
-
setPosition
public void setPosition(org.openqa.selenium.Point targetPosition)- Specified by:
setPositionin interfaceorg.openqa.selenium.WebDriver.Window
-
getSize
public org.openqa.selenium.Dimension getSize()- Specified by:
getSizein interfaceorg.openqa.selenium.WebDriver.Window
-
getPosition
public org.openqa.selenium.Point getPosition()- Specified by:
getPositionin interfaceorg.openqa.selenium.WebDriver.Window
-
maximize
public void maximize()- Specified by:
maximizein interfaceorg.openqa.selenium.WebDriver.Window
-
fullscreen
public void fullscreen()- Specified by:
fullscreenin interfaceorg.openqa.selenium.WebDriver.Window
-