getWindowPositionOld function

Get window position

Get window position

getWindowPositionOld Get the position of the specified window. Uses the old JSONwireprotocol end points.

getWindowPositionOld(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

Returns a list which contains the x coordinate to position the window at, relative to the upper left corner of the screen and the Y coordinate to position the window at, relative to the upper left corner of the screen

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