View source: R/minimal_selenider_session.R
minimal_selenider_session | R Documentation |
Create a selenider_session
using custom HTML/JavaScript.
minimal_selenider_session(html, js = NULL, ..., .env = rlang::caller_env())
html |
A string to use as HTML. Can also be an |
js |
A string (or |
... |
Passed into |
.env |
The environment in which the session will be used. |
The function works by combining html
and js
into a single string, then
writing this to a temporary file (and opening it in the session's browser).
A selenider_session
object.
selenider_session()
session <- minimal_selenider_session("<p>Example</p>")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.