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.Windowpublic void setPosition(org.openqa.selenium.Point targetPosition)
setPosition in interface org.openqa.selenium.WebDriver.Windowpublic org.openqa.selenium.Dimension getSize()
getSize in interface org.openqa.selenium.WebDriver.Windowpublic org.openqa.selenium.Point getPosition()
getPosition in interface org.openqa.selenium.WebDriver.Windowpublic void maximize()
maximize in interface org.openqa.selenium.WebDriver.Windowpublic void minimize()
minimize in interface org.openqa.selenium.WebDriver.Windowpublic void fullscreen()
fullscreen in interface org.openqa.selenium.WebDriver.Windowpublic com.gargoylesoftware.htmlunit.Page lastPage()
protected void switchToDefaultContentOfWindow(com.gargoylesoftware.htmlunit.WebWindow window)
Copyright © 2021. All rights reserved.