Learn R Programming

seleniumPipes (version 0.3.7)

getWindowSizeOld: Get window size

Description

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

Usage

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.

Value

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

See Also

Other oldMethods functions: acceptAlertOld, dismissAlertOld, executeAsyncScriptOld, executeScriptOld, getAlertTextOld, getWindowHandleOld, getWindowHandlesOld, getWindowPositionOld, 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