wc_click_on.Rd
Click on a DOM element in a webclient loaded page
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.
w <- web_client() wc_go(w, url = "https://hrbrmstr.github.io/htmlunitjars/index.html") wc_click_on(w, "table")