setWindowSizeOld function

Change the size of the specified window.

Change the size of the specified window.

setWindowSize Change the size of the specified window.

setWindowSizeOld(remDr, width, height, handle = "current", ...)

Arguments

  • remDr: An object of class "rDriver". A remote driver object see remoteDr.
  • width: integer The new window width.
  • height: integer The new window height.
  • 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

invisible(remDr): An object of class "rDriver" is invisibly returned. A remote driver object see remoteDr. This allows for chaining from this function to other functions that take such an object as an argument. See examples for further details.

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, getWindowSizeOld, maximizeWindowOld, sendAlertTextOld, setWindowPositionOld