Drivers for firefox and chrome to run the Shiny application
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()
if (FALSE) { 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() } }