Modifier and Type | Method and Description |
---|---|
void |
fullscreen()
Fullscreen the current window if it is not already fullscreen
|
Point |
getPosition()
Get the position of the current window, relative to the upper left corner of the screen.
|
Dimension |
getSize()
Get the size of the current window.
|
void |
maximize()
Maximizes the current window if it is not already maximized
|
void |
setPosition(Point targetPosition)
Set the position of the current window.
|
void |
setSize(Dimension targetSize)
Set the size of the current window.
|
void fullscreen()
Point getPosition()
Dimension getSize()
void maximize()
void setPosition(Point targetPosition)
targetPosition
- The target position of the window.void setSize(Dimension targetSize)
targetSize
- The target size.Copyright © 2014-2017 Machine Publishers, LLC and the jBrowserDriver contributors.
Project homepage: https://github.com/machinepublishers/jbrowserdriver