R/userPromptsDoc.R

#' Accept alert
#'
#'\code{acceptAlert} accept a JavaScript alert
#'
#' @template remDr
#' @template ellipsis
#'
#' @family userPrompts functions
#' @template ret1
#' @export
#'
#' @example /inst/examples/docs/userPrompts.R
#' @name acceptAlert
NULL

#' Dismiss Alert
#'
#'\code{dismissAlert} dismiss a JavaScript alert
#'
#' @template remDr
#' @template ellipsis
#'
#' @family userPrompts functions
#' @template ret1
#' @export
#'
#' @example /inst/examples/docs/userPrompts.R
#' @name dismissAlert
NULL

#' Get alert text
#'
#'\code{getAlertText} Get the text from a JavaScript alert.
#'
#' @template remDr
#' @template ellipsis
#'
#' @family userPrompts functions
#' @return The text from the alert is returned.
#' @export
#'
#' @example /inst/examples/docs/userPrompts.R
#' @name getAlertText
NULL

#' Send text to alert
#'
#'\code{sendAlertText} Send keystrokes to JavaScript prompt() dialog
#'
#' @template remDr
#' @param text A character vector of length 1. In other words a string. The text is passed to the JavaScript alert
#' @template ellipsis
#'
#' @family userPrompts functions
#' @template ret1
#' @export
#'
#' @example /inst/examples/docs/userPrompts.R
#' @name sendAlertText
NULL

Try the seleniumPipes package in your browser

Any scripts or data that you put into this service are public.

seleniumPipes documentation built on May 2, 2019, 5:57 a.m.