Description Usage Arguments Note Examples
Click on a DOM element in a webclient loaded page
1 | wc_click_on(wc_obj, css, xpath)
|
wc_obj |
a |
css, xpath |
Node to click on. Supply one of css or xpath depending on whether you want to use a css or xpath 1.0 selector. |
The caller does not have to assign the output of this function to a variable as the browser state is managed internally by HtmlUnit.
1 2 3 | w <- web_client()
wc_go(w, url = "https://hrbrmstr.github.io/htmlunitjars/index.html")
wc_click_on(w, "table")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.