Get window size

Share:

Description

getWindowSizeOld Get the size of the specified window. Uses the old JSONwireprotocol end points.

Usage

1
getWindowSizeOld(remDr, handle = "current", ...)

Arguments

remDr

An object of class "rDriver". A remote driver object see remoteDr.

handle

Handle of the window to query. If handle = "current" (the default) the current window is used.

...

Additonal function arguments - Currently passes the retry argument.

Value

The width and height of the window are returned as elements in a list.

See Also

Other oldMethods functions: acceptAlertOld, dismissAlertOld, executeAsyncScriptOld, executeScriptOld, getAlertTextOld, getWindowHandleOld, getWindowHandlesOld, getWindowPositionOld, maximizeWindowOld, sendAlertTextOld, setWindowPositionOld, setWindowSizeOld

Examples

1
2
3
4
## Not run: 
# functions in this group are using the old JSONwireprotocol end points

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.