R/shadowr.R

Defines functions shadow

Documented in shadow

#' @title Shadow Class Constructor
#' @description This is a Class Constructor function to create a shadow class and are able to use the
#' Selenium plugin to manage multiple levels of shadow elements on a web page.
#' @param driver The shadow class takes a R Selenium Remote Driver
#' @import methods
#' @import RSelenium
#' @keywords shadow
#' @seealso
#' \code{\link{shadow-class}} or
#' \cr
#' \url{https://github.com/ricilandolt/shadowr} for examples
#' @export
#'
shadow <- function(driver){

  new("shadow", driver = driver, javascript_library = convert_js_to_text())

}

Try the shadowr package in your browser

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

shadowr documentation built on May 25, 2022, 9:06 a.m.