Learn R Programming

seleniumPipes (version 0.3.7)

getWindowPositionOld: Get window position

Description

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

Usage

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.

Value

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

See Also

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

Examples

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

Run the code above in your browser using DataLab