Description Usage Arguments Details See Also
The splashr
lua
DSL (domain specific language) wrapper wraps what the package
author believes to be the most common/useful lua
functions. Users of the package
may have need to insert some custom lua
code within a DSL call chain they are
building. You can insert any Splash lua
code you like with this function call.
1 | splash_add_lua(splash_obj, lua_code)
|
splash_obj |
splashr object |
lua_code |
length 1 character vector of raw |
The code is inserted at the position the splash_add_lua
() is called in the chain
which will be within the main "splash' function which is defined as:
1 2 3 |
If you need more flexibility, use the execute_lua()
function.
Other splash_dsl_functions:
splash_click()
,
splash_focus()
,
splash_go()
,
splash_har_reset()
,
splash_har()
,
splash_html()
,
splash_png()
,
splash_press()
,
splash_release()
,
splash_send_keys()
,
splash_send_text()
,
splash_wait()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.