Nothing
JAVA_HOME
is now respected when finding the java
executable.selenium_server()
now returns a SeleniumServer
object, which exposes the
host
and port
fields. This allows wait_for_server()
to work without
having to pass in the host
and port
arguments.selenium_server()
no longer saves the logs of the Selenium server process
by default, as this would cause errors when creating lots of sessions. To
enable logging, set the stdout
and stderr
arguments to "|"
, and then
use $read_output()
and $read_error()
to read the output/error, as before.SeleniumSession$close()
no longer throws an error if you use it twice.
Instead, it returns a boolean that indicates if the session was already
closed.chrome_options()
, firefox_options()
and edge_options()
to help
with the capabilities
argument in SeleniumSession$new()
. The documentation
there includes several links that document the options available for each
browser, along with a few examples.error
argument in wait_for_selenium_available()
now defaults to
TRUE
. This means that the function will throw an error if a Selenium server
is not available by default.wait_for_server()
, a version of wait_for_selenium_available()
that
gives more detailed error messages by reading the logs of a server process
created using selenium_server()
.selenium_server()
where fetching the latest version
didn't work when Selenium was preparing to release a new version.browser
, host
and port
fields can now be used to access the browser,
host and port of a SeleniumSession
object.timeout
argument to each method.selenium_server()
could error if called too many times with
version = "latest"
. This is because a GitHub request is made to access
the latest version, which can cause GitHub's rate limits to be exceeded.
This update takes two steps to stop this from happening:gitcreds
is used, if available, to authenticate GitHub requests,
increasing the rate limit.selenium_server()
passes in "|"
to stdout
and stderr
, instead of
exposing them as user arguments. This allows the output/error to be read
using $read_output()
and $read_error()
.temp
argument to selenium_server()
.path
argument to selenium_server()
, allowing the file to be
saved in a custom path.\dontrun{}
for one example for CRAN resubmission.Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.