Class webdriver.WebDriver.Window
code »An interface for managing the current window.
Constructor
webdriver.WebDriver.Window ( driver )
| Parameters |
|---|
|
Show:
Instance Methods
Retrieves the window's current position, relative to the top left corner of
the screen.
| Returns |
|---|
|
Retrieves the window's current size.
| Returns |
|---|
|
Maximizes the current window.
| Returns |
|---|
|
code »setPosition ( x, y ) ⇒ !webdriver.promise.PromiseRepositions the current window.
!webdriver.promise.Promisecode »setSize ( width, height ) ⇒ !webdriver.promise.PromiseResizes the current window.
!webdriver.promise.Promise