Class WindowStub
java.lang.Object
net.thucydides.core.webdriver.stubs.WindowStub
- All Implemented Interfaces:
org.openqa.selenium.WebDriver.Window
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.openqa.selenium.Pointorg.openqa.selenium.DimensiongetSize()voidmaximize()voidsetPosition(org.openqa.selenium.Point targetPosition) voidsetSize(org.openqa.selenium.Dimension targetSize)
-
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
-