Description Usage Arguments Value See Also Examples
Drivers for firefox and chrome to run the Shiny application
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | firefox_driver(
  test_path = tempdir(),
  verbose = FALSE,
  port = httpuv::randomPort(),
  opts = firefox_options(download_path = test_path),
  ...
)
chrome_driver(
  test_path = tempdir(),
  verbose = FALSE,
  port = httpuv::randomPort(),
  opts = chrome_options(download_path = test_path),
  ...
)
 | 
| test_path | path to run the tests, Default: tempdir() | 
| verbose | If TRUE, include status messages (if any) | 
| port | Port to run on | 
| opts | Driver options from firefox_driver or chrome_driver | 
| ... | Additional arguments to pass to  | 
object of class remoteDriver
Other driver: 
chrome_options(),
chrome_version(),
set_chrome_driver(),
set_firefox_driver(),
set_timeout()
Other driver: 
chrome_options(),
chrome_version(),
set_chrome_driver(),
set_firefox_driver(),
set_timeout()
| 1 2 3 4 5 6 7 8 9 10 | ## Not run: 
if(interactive()){
 firefox_rs <- firefox_driver()
 firefox_rs$client$navigate('https://www.google.com')
 firefox_rs$client$screenshot(display = TRUE)
 firefox_rs$client$close()
 firefox_rs$server$stop()
 }
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.