selenider_available {selenider}R Documentation

Check if selenider can be used

Description

Checks if selenider's dependencies are available, and that we are in an environment where it makes sense to open a selenider session.

skip_if_selenider_unavailable() skips a testthat test if selenider_available() returns FALSE.

Usage

selenider_available(
  session = c("chromote", "selenium", "rselenium"),
  online = TRUE
)

skip_if_selenider_unavailable(session = c("chromote", "selenium"))

Arguments

session

Which session we should check. "chromote" is used by default.

online

Whether we need to check for an internet connection.

Details

Specifically, the following is checked:

If session is "chromote", we also check:

If session is "selenium", we check:

Value

A boolean flag: TRUE or FALSE.

Examples

selenider_available()


[Package selenider version 0.4.0 Index]