Create a session with custom HTML
Source:R/minimal_selenider_session.R
minimal_selenider_session.RdCreate 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
xml2object.- js
A string (or
NULL) to use as JavaScript.- ...
Passed into
selenider_session().- .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).