web_client: Create a new HtmlUnit WebClient instance

Description Usage Arguments Details Value Examples

View source: R/web-client.R

Description

A new HtmlUnit web client (virtual browser) will be created and a webclient object will be returned.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
web_client(
  emulate = c("best", "chrome", "firefox", "ie", "edge"),
  proxy_host = NULL,
  proxy_port = NULL
)

webclient(
  emulate = c("best", "chrome", "firefox", "ie", "edge"),
  proxy_host = NULL,
  proxy_port = NULL
)

Arguments

emulate

browser to emulate; one of "best", "chrome", "firefox", "ie"

proxy_host, proxy_port

the server/port that will act as proxy (default NULL = no proxy)

Details

This is part of the htmlunit DSL interface.s

Value

webclient object

Examples

1
2

hrbrmstr/htmlunit documentation built on Aug. 19, 2020, 3:05 p.m.