public class HtmlUnitWindow extends Object implements org.openqa.selenium.WebDriver.Window
Constructor and Description |
---|
HtmlUnitWindow(HtmlUnitDriver driver) |
Modifier and Type | Method and Description |
---|---|
void |
fullscreen() |
org.openqa.selenium.Point |
getPosition() |
org.openqa.selenium.Dimension |
getSize() |
com.gargoylesoftware.htmlunit.Page |
lastPage() |
void |
maximize() |
void |
minimize() |
void |
setPosition(org.openqa.selenium.Point targetPosition) |
void |
setSize(org.openqa.selenium.Dimension targetSize) |
protected void |
switchToDefaultContentOfWindow(com.gargoylesoftware.htmlunit.WebWindow window) |
public HtmlUnitWindow(HtmlUnitDriver driver)
public void setSize(org.openqa.selenium.Dimension targetSize)
setSize
in interface org.openqa.selenium.WebDriver.Window
public void setPosition(org.openqa.selenium.Point targetPosition)
setPosition
in interface org.openqa.selenium.WebDriver.Window
public org.openqa.selenium.Dimension getSize()
getSize
in interface org.openqa.selenium.WebDriver.Window
public org.openqa.selenium.Point getPosition()
getPosition
in interface org.openqa.selenium.WebDriver.Window
public void maximize()
maximize
in interface org.openqa.selenium.WebDriver.Window
public void minimize()
minimize
in interface org.openqa.selenium.WebDriver.Window
public void fullscreen()
fullscreen
in interface org.openqa.selenium.WebDriver.Window
public com.gargoylesoftware.htmlunit.Page lastPage()
protected void switchToDefaultContentOfWindow(com.gargoylesoftware.htmlunit.WebWindow window)
Copyright © 2022. All rights reserved.