inst/examples/docs/screenCapture.R

\dontrun{
  remDr <- remoteDr()
  remDr %>% go("http://www.google.com/ncr")
  remDr %>% takeScreenshot

  # select the search box
  searchElem <- remDr %>% findElement("name", "q")
  #searchElem %>% takeElementScreenshot()
}

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.