test_jster | R Documentation |
This method will test your shiny application using the shinyjster code you have provided on all of the available browsers shinyjster can test with on the given platform.
For each browser, each app will be tested using run_jster_apps()
.
test_jster(
apps = "../",
browsers = c(selenium_chrome(), selenium_firefox(), if (platform() == "win" ||
platform() == "mac") c(selenium_edge()), if (platform() == "win") c(selenium_ie()),
if (platform() == "mac") c(selenium_safari())),
type = c("serial", "lapply"),
assert = TRUE,
host = "127.0.0.1",
port = NULL
)
apps |
Defaults the app in the directory above |
browsers |
By default, as many browsers as selenium support on the given platform |
type |
Single value to determine how applications are executed.
|
assert |
A logical value that determines if |
host |
The IPv4 address that the application should listen on. Defaults
to the |
port |
The TCP port that the application should listen on. If the
|
A data frame with the columns appDir
, successful
, returnValue
, and browser
. One row of information per browser
and apps
combination.
run_jster()
, use_jster()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.