-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathweb_client.Rd
More file actions
40 lines (38 loc) · 940 Bytes
/
web_client.Rd
File metadata and controls
40 lines (38 loc) · 940 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/web-client.R
\name{web_client}
\alias{web_client}
\alias{webclient}
\title{Create a new HtmlUnit WebClient instance}
\usage{
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{
\item{emulate}{browser to emulate; one of "\code{best}", "\code{chrome}", "\code{firefox}", "\code{ie}"}
\item{proxy_host, proxy_port}{the server/port that will act as proxy (default
\code{NULL} = no proxy)}
}
\value{
\code{webclient} object
}
\description{
A new HtmlUnit web client (virtual browser) will be created and a \code{webclient}
object will be returned.
}
\details{
This is part of the \code{htmlunit} DSL interface.s
}
\examples{
w <- web_client()
wc_browser_info(w)
}
\concept{dsl}