getWindowHandleOld function

Retrieve the current window handle.

Retrieve the current window handle.

getWindowHandleOld Retrieve the current window handle. Uses the old JSONwireprotocol end points

getWindowHandleOld(remDr, ...)

Arguments

  • remDr: An object of class "rDriver". A remote driver object see remoteDr.
  • ...: Additonal function arguments - Currently passes the retry argument.

Returns

Returns a string which is the "handle" for the current window.

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