minimal_selenider_session {selenider} | R Documentation |
Create a session with custom HTML
Description
Create a selenider_session
using custom HTML/JavaScript.
Usage
minimal_selenider_session(html, js = NULL, ..., .env = rlang::caller_env())
Arguments
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. |
Details
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).
Value
A selenider_session
object.
See Also
Examples
session <- minimal_selenider_session("<p>Example</p>")
[Package selenider version 0.4.0 Index]