R/screenCaptureDoc.R

#' takeElementScreenshot
#'
#'\code{takeElementScreenshot}
#'
#' @template webElem
#' @param file If not null the decoded PNG is written to file using the string provided here. Defaults to NULL.
#' @param display logical Display the PNG or not (default is set in getOption("seleniumPipes_display_screenshot")).
#' @param useViewer A viewer to view the PNG. Looks for the RSudio viewer by default.
#' @param returnPNG logical return the decoded PNG. If false (default) webElem is returned to allw chaining.
#' @template ellipsis
#'
#' @family screenCapture functions
#' @template ret13
#' @export
#'
#' @example /inst/examples/docs/screenCapture.R
#' @name takeElementScreenshot
NULL

#' takeScreenshot
#'
#'\code{takeScreenshot}
#'
#' @template remDr
#' @param file If not null the decoded PNG is written to file using the string provided here. Defaults to NULL.
#' @param display logical Display the PNG or not (default is set in getOption("seleniumPipes_display_screenshot")).
#' @param useViewer A viewer to view the PNG. Looks for the RSudio viewer by default.
#' @param returnPNG logical return the decoded PNG. If false (default) remDr is returned to allw chaining.
#' @template ellipsis
#'
#' @family screenCapture functions
#' @template ret12
#' @export
#'
#' @example /inst/examples/docs/screenCapture.R
#' @name takeScreenshot
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.