setWindowPositionOld function

Change the position of the specified window.

Change the position of the specified window.

setWindowSize Change the position of the specified window.

setWindowPositionOld(remDr, x, y, handle = "current", ...)

Arguments

  • remDr: An object of class "rDriver". A remote driver object see remoteDr.
  • x: integer The X coordinate to position the window at, relative to the upper left corner of the screen.
  • y: integer The Y coordinate to position the window at, relative to the upper left corner of the screen.
  • 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, setWindowSizeOld

  • Maintainer: John Harrison
  • License: GPL-3
  • Last published: 2016-10-01

Downloads (last 30 days):