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 Summary
Constructors Constructor Description WindowStub()
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
-
-
-
Method Detail
-
setSize
public void setSize(org.openqa.selenium.Dimension targetSize)
- Specified by:
setSize
in interfaceorg.openqa.selenium.WebDriver.Window
-
setPosition
public void setPosition(org.openqa.selenium.Point targetPosition)
- Specified by:
setPosition
in interfaceorg.openqa.selenium.WebDriver.Window
-
getSize
public org.openqa.selenium.Dimension getSize()
- Specified by:
getSize
in interfaceorg.openqa.selenium.WebDriver.Window
-
getPosition
public org.openqa.selenium.Point getPosition()
- Specified by:
getPosition
in interfaceorg.openqa.selenium.WebDriver.Window
-
maximize
public void maximize()
- Specified by:
maximize
in interfaceorg.openqa.selenium.WebDriver.Window
-
fullscreen
public void fullscreen()
- Specified by:
fullscreen
in interfaceorg.openqa.selenium.WebDriver.Window
-
-