R/RS.GetText.R

Defines functions RS.get_Text

Documented in RS.get_Text

#' Get text
#'
#' @param xpath xpath
#'
#' @return string
#' @export
#'
#' @examples RS.get_Text(xpath)
RS.get_Text <- function(xpath){
  read_html(remDr$getPageSource()[[1]][1]) %>%
    html_nodes(xpath=xpath) %>%
    html_text()
}
yikeshu0611/RS.driver documentation built on April 6, 2020, 8:48 a.m.