|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Beta public static interface WebDriver.Window
Method Summary | |
---|---|
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. |
Method Detail |
---|
void setSize(Dimension targetSize)
targetSize
- The target size.void setPosition(Point targetPosition)
targetPosition
- The target position of the window.Dimension getSize()
Point getPosition()
void maximize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |