getWindowSizeOld function

Get window size

Get window size

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

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.

Returns

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

Examples

## Not run: # functions in this group are using the old JSONwireprotocol end points ## End(Not run)

See Also

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