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.Promise
Repositions the current window.
!webdriver.promise.Promise
code »setSize ( width, height ) ⇒ !webdriver.promise.Promise
Resizes the current window.
!webdriver.promise.Promise