acceptAlertOld function

Accept alert

Accept alert

acceptAlertOld accept a JavaScript alert This uses the old JSONwireprotocol endpoints.

acceptAlertOld(remDr, ...)

Arguments

  • remDr: An object of class "rDriver". A remote driver object see remoteDr.
  • ...: 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: dismissAlertOld, executeAsyncScriptOld, executeScriptOld, getAlertTextOld, getWindowHandleOld, getWindowHandlesOld, getWindowPositionOld, getWindowSizeOld, maximizeWindowOld, sendAlertTextOld, setWindowPositionOld, setWindowSizeOld