Browse Source

update for new htmlunit rls

master
boB Rudis 4 years ago
parent
commit
e7467babb2
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. 10
      DESCRIPTION
  2. 2
      R/wc-inspect.R
  3. 89
      README.md
  4. BIN
      inst/java/htmlunit-1.0-SNAPSHOT.jar
  5. 12
      java/htmlunit/Makefile
  6. BIN
      java/htmlunit/deps/commons-text-1.8.jar
  7. BIN
      java/htmlunit/deps/htmlunit-2.38.0.jar
  8. BIN
      java/htmlunit/deps/htmlunit-core-js-2.38.0.jar
  9. BIN
      java/htmlunit/deps/httpclient-4.5.12.jar
  10. BIN
      java/htmlunit/deps/httpcore-4.4.13.jar
  11. BIN
      java/htmlunit/deps/httpmime-4.5.12.jar
  12. BIN
      java/htmlunit/deps/jetty-client-9.4.27.v20200227.jar
  13. BIN
      java/htmlunit/deps/jetty-http-9.4.27.v20200227.jar
  14. BIN
      java/htmlunit/deps/jetty-io-9.4.27.v20200227.jar
  15. BIN
      java/htmlunit/deps/jetty-util-9.4.27.v20200227.jar
  16. BIN
      java/htmlunit/deps/jetty-xml-9.4.27.v20200227.jar
  17. BIN
      java/htmlunit/deps/neko-htmlunit-2.38.0.jar
  18. BIN
      java/htmlunit/deps/websocket-api-9.4.27.v20200227.jar
  19. BIN
      java/htmlunit/deps/websocket-client-9.4.27.v20200227.jar
  20. BIN
      java/htmlunit/deps/websocket-common-9.4.27.v20200227.jar
  21. 2
      java/htmlunit/pom.xml
  22. 39
      java/htmlunit/src/main/java/is/rud/htmlunit/App.java
  23. 40
      java/htmlunit/src/main/java/is/rud/htmlunit/Zapp.java
  24. BIN
      java/htmlunit/target/classes/is/rud/htmlunit/Zapp$1.class
  25. BIN
      java/htmlunit/target/classes/is/rud/htmlunit/Zapp.class
  26. BIN
      java/htmlunit/target/htmlunit-1.0-SNAPSHOT.jar
  27. 4
      java/htmlunit/target/maven-archiver/pom.properties
  28. 2
      java/htmlunit/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
  29. 1
      java/htmlunit/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
  30. 0
      java/htmlunit/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
  31. 1
      java/htmlunit/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
  32. 3
      man/htmlunit.Rd
  33. 16
      man/hu_read_html.Rd
  34. 12
      man/wc_css.Rd
  35. 12
      man/wc_dnt.Rd
  36. 12
      man/wc_geo.Rd
  37. 12
      man/wc_img_dl.Rd
  38. 12
      man/wc_resize.Rd
  39. 12
      man/wc_timeout.Rd
  40. 12
      man/wc_use_insecure_ssl.Rd
  41. 12
      man/wc_wait.Rd
  42. 14
      man/web_client.Rd

10
DESCRIPTION

@ -1,8 +1,8 @@
Package: htmlunit
Type: Package
Title: Tools to Scrape Dynamic Web Content via the 'HtmlUnit' Java Library
Version: 0.3.0
Date: 2019-08-24
Version: 0.3.1
Date: 2020-03-10
Authors@R: c(
person("Bob", "Rudis", email = "bob@rud.is", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-5670-2640")),
@ -19,8 +19,8 @@ Description: 'HtmlUnit' (<https://htmlunit.sourceforge.net/>) is a "'GUI'-Less
information from web sites. Tools are provided to work with this library
at a higher level than provided by the exposed 'Java' libraries in the
'htmlunitjars' package.
URL: https://gitlab.com/hrbrmstr/htmlunit
BugReports: https://gitlab.com/hrbrmstr/htmlunit/issues
URL: https://git.rud.is/hrbrmstr/htmlunit
BugReports: https://git.rud.is/hrbrmstr/htmlunit/issues
Encoding: UTF-8
License: Apache License 2.0 | file LICENSE
Imports:
@ -35,5 +35,5 @@ Depends:
rvest,
xml2
Roxygen: list(markdown = TRUE)
RoxygenNote: 6.1.1
RoxygenNote: 7.0.2
Remotes: gitlab::hrbrmstr/htmlunitjars

2
R/wc-inspect.R

@ -8,7 +8,7 @@
#' @export
wc_inspect <- function(url, js_delay = 5000L) {
app <- J("is.rud.htmlunit.App")
app <- J("is.rud.htmlunit.Zapp")
res <- app$getRequestsFor(url, .jlong(js_delay))
res <- as.list(res)

89
README.md

@ -132,7 +132,7 @@ library(tidyverse) # for some data ops; not req'd for pkg
# current verison
packageVersion("htmlunit")
## [1] '0.3.0'
## [1] '0.3.1'
```
Something `xml2::read_html()` cannot do, read the table from
@ -178,37 +178,41 @@ colnames(xdf)
## [7] "content_type" "load_time" "headers"
select(xdf, method, url, status_code, content_length, load_time)
## # A tibble: 168 x 5
## # A tibble: 46 x 5
## method url status_code content_length load_time
## <chr> <chr> <int> <dbl> <dbl>
## 1 GET https://rstudio.com/ 302 154 278
## 2 GET https://www.rstudio.com/ 200 125451 281
## 3 GET https://www.rstudio.com/wp-includes/js/wp-emoji-release.min.js?ver=5.1.1 200 4426 47
## 4 GET https://442r58kc8ke1y38f62ssb208-wpengine.netdna-ssl.com/wp-content/plug… 200 4193 147
## 5 GET https://fonts.googleapis.com/css?family=Lato:100,300,regular,700,900%7CO… 200 820 151
## 6 GET https://442r58kc8ke1y38f62ssb208-wpengine.netdna-ssl.com/wp-content/plug… 200 1306 24
## 7 GET https://442r58kc8ke1y38f62ssb208-wpengine.netdna-ssl.com/wp-content/plug… 200 7102 26
## 8 GET https://442r58kc8ke1y38f62ssb208-wpengine.netdna-ssl.com/wp-content/plug… 200 9680 23
## 9 GET https://442r58kc8ke1y38f62ssb208-wpengine.netdna-ssl.com/wp-content/plug… 200 1001 20
## 10 GET https://442r58kc8ke1y38f62ssb208-wpengine.netdna-ssl.com/wp-content/plug… 200 271 21
## # … with 158 more rows
## 1 GET https://rstudio.com/ 200 12225 468
## 2 GET https://dev.visualwebsiteoptimizer.com/j.php?a=450622&u=https%3A%2F%2Frs… 200 1254 263
## 3 GET https://dev.visualwebsiteoptimizer.com/6.0/va-41bacd491c20ae77339f81a709… 200 55687 68
## 4 GET https://use.fontawesome.com/releases/v5.0.6/css/all.css 200 8699 170
## 5 GET https://d33wubrfki0l68.cloudfront.net/bundles/c5ddb3e999592179708beea702… 200 53046 153
## 6 GET https://cdn.rawgit.com/noelboss/featherlight/1.7.13/release/featherlight… 200 763 172
## 7 GET https://d33wubrfki0l68.cloudfront.net/css/4a0f49009a213e6e2207c6f66893f0… 200 505 15
## 8 GET https://gitcdn.github.io/bootstrap-toggle/2.2.2/css/bootstrap-toggle.min… 200 548 211
## 9 GET https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-aweso… 200 6663 127
## 10 GET https://snap.licdn.com/li.lms-analytics/insight.min.js 200 1576 136
## # … with 36 more rows
group_by(xdf, content_type) %>%
summarise(
total_size = sum(content_length),
total_load_time = sum(load_time)/1000
)
## # A tibble: 8 x 3
## content_type total_size total_load_time
## <chr> <dbl> <dbl>
## 1 application/javascript 673583 3.79
## 2 application/json 4147 0.914
## 3 image/gif 70 0.202
## 4 image/jpeg 59772 0.022
## 5 image/png 577497 0.423
## 6 text/css 131846 0.773
## 7 text/html 126021 0.592
## 8 text/javascript 191565 0.492
## # A tibble: 12 x 3
## content_type total_size total_load_time
## <chr> <dbl> <dbl>
## 1 "" 44288 0.185
## 2 "application/javascript" 262203 0.724
## 3 "application/json" 4100 0.848
## 4 "application/x-javascript" 152398 0.521
## 5 "image/gif" 35 0.209
## 6 "image/jpeg" 59772 0.026
## 7 "image/png" 40634 0.064
## 8 "image/svg+xml" 41727 0.141
## 9 "text/css" 118100 1.08
## 10 "text/html" 12642 0.518
## 11 "text/javascript" 249525 0.926
## 12 "text/plain" 28 0.183
```
### DSL
@ -217,7 +221,7 @@ group_by(xdf, content_type) %>%
wc <- web_client(emulate = "chrome")
wc %>% wc_browser_info()
## < Netscape / 5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36 / en-US >
## < Netscape / 5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36 / en-US >
wc <- web_client()
@ -261,38 +265,17 @@ wc %>%
cat()
## USA.gov: The U.S. Government's Official Web Portal | USAGov
## Skip to main content
##
##
## An official website of the United States government Here's how you know
##
##
##
##
##
##
##
##
##
##
## Search
## Search
##
##
## Search
## 1-844-USA-GOV1
##
##
##
## Search
## 1-844-USA-GOV1
## All Topics and Services
##
##
## About the U.S.
##
##
## Benefits, Grants, Loans
##
##
## Government Agencies and
## Government Agencies and Elected Officials
## Jobs and Unemployme
```
### htmlunit Metrics
@ -301,9 +284,9 @@ wc %>%
| :---- | -------: | ---: | --: | ---: | ----------: | ---: | -------: | ---: |
| R | 14 | 0.78 | 351 | 0.76 | 193 | 0.74 | 372 | 0.83 |
| Rmd | 1 | 0.06 | 41 | 0.09 | 52 | 0.20 | 75 | 0.17 |
| Maven | 1 | 0.06 | 30 | 0.06 | 0 | 0.00 | 1 | 0.00 |
| Java | 1 | 0.06 | 28 | 0.06 | 11 | 0.04 | 0 | 0.00 |
| make | 1 | 0.06 | 14 | 0.03 | 4 | 0.02 | 0 | 0.00 |
| Maven | 1 | 0.06 | 30 | 0.07 | 0 | 0.00 | 1 | 0.00 |
| Java | 1 | 0.06 | 28 | 0.06 | 12 | 0.05 | 0 | 0.00 |
| make | 1 | 0.06 | 10 | 0.02 | 4 | 0.02 | 0 | 0.00 |
## Code of Conduct

BIN
inst/java/htmlunit-1.0-SNAPSHOT.jar

Binary file not shown.

12
java/htmlunit/Makefile

@ -1,18 +1,14 @@
.PHONY: clean pkg deps run
pkg:
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home
mvn --quiet package
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home mvn --quiet package
cp target/htmlunit-1.0-SNAPSHOT.jar ../../inst/java
clean:
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home
mvn clean
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home mvn clean
deps:
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home
mvn dependency:copy-dependencies -DoutputDirectory=deps
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home mvn dependency:copy-dependencies -DoutputDirectory=deps
new:
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home
mvn archetype:generate -DgroupId=is.rud.htmlunit -DartifactId=htmlunit -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home mvn archetype:generate -DgroupId=is.rud.htmlunit -DartifactId=htmlunit -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false

BIN
java/htmlunit/deps/commons-text-1.8.jar

Binary file not shown.

BIN
java/htmlunit/deps/htmlunit-2.38.0.jar

Binary file not shown.

BIN
java/htmlunit/deps/htmlunit-core-js-2.38.0.jar

Binary file not shown.

BIN
java/htmlunit/deps/httpclient-4.5.12.jar

Binary file not shown.

BIN
java/htmlunit/deps/httpcore-4.4.13.jar

Binary file not shown.

BIN
java/htmlunit/deps/httpmime-4.5.12.jar

Binary file not shown.

BIN
java/htmlunit/deps/jetty-client-9.4.27.v20200227.jar

Binary file not shown.

BIN
java/htmlunit/deps/jetty-http-9.4.27.v20200227.jar

Binary file not shown.

BIN
java/htmlunit/deps/jetty-io-9.4.27.v20200227.jar

Binary file not shown.

BIN
java/htmlunit/deps/jetty-util-9.4.27.v20200227.jar

Binary file not shown.

BIN
java/htmlunit/deps/jetty-xml-9.4.27.v20200227.jar

Binary file not shown.

BIN
java/htmlunit/deps/neko-htmlunit-2.38.0.jar

Binary file not shown.

BIN
java/htmlunit/deps/websocket-api-9.4.27.v20200227.jar

Binary file not shown.

BIN
java/htmlunit/deps/websocket-client-9.4.27.v20200227.jar

Binary file not shown.

BIN
java/htmlunit/deps/websocket-common-9.4.27.v20200227.jar

Binary file not shown.

2
java/htmlunit/pom.xml

@ -25,7 +25,7 @@
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
<version>2.36.0</version>
<version>2.38.0</version>
</dependency>
</dependencies>
</project>

39
java/htmlunit/src/main/java/is/rud/htmlunit/App.java

@ -1,39 +0,0 @@
package is.rud.htmlunit;
import com.gargoylesoftware.htmlunit.*;
import com.gargoylesoftware.htmlunit.util.*;
import java.util.*;
import java.lang.*;
import java.io.*;
public class App {
public static List<WebResponse> getRequestsFor(String url, long jsDelay) throws IOException {
final WebClient webClient = new WebClient(BrowserVersion.CHROME);
WebClientOptions wco = webClient.getOptions();
wco.setThrowExceptionOnScriptError(false);
wco.setCssEnabled(true);
wco.setDownloadImages(true);
wco.setTimeout(30000);
final List<WebResponse> list = new ArrayList<>();
new WebConnectionWrapper(webClient) {
@Override
public WebResponse getResponse(final WebRequest request) throws IOException {
final WebResponse response = super.getResponse(request);
list.add(response);
return response;
}
};
webClient.getPage(url);
webClient.waitForBackgroundJavaScript(jsDelay);
return(list);
}
}

40
java/htmlunit/src/main/java/is/rud/htmlunit/Zapp.java

@ -0,0 +1,40 @@
package is.rud.htmlunit;
import com.gargoylesoftware.htmlunit.*;
import com.gargoylesoftware.htmlunit.util.*;
import java.util.*;
import java.lang.*;
import java.io.*;
public class Zapp {
public static List<WebResponse> getRequestsFor(String url, long jsDelay) throws IOException {
final WebClient webClient = new WebClient(BrowserVersion.CHROME);
WebClientOptions wco = webClient.getOptions();
wco.setThrowExceptionOnScriptError(false);
wco.setCssEnabled(true);
wco.setDownloadImages(true);
wco.setTimeout(30000);
final List<WebResponse> list = new ArrayList<>();
new WebConnectionWrapper(webClient) {
@Override
public WebResponse getResponse(final WebRequest request) throws IOException {
final WebResponse response = super.getResponse(request);
list.add(response);
return response;
}
};
webClient.getPage(url);
webClient.waitForBackgroundJavaScript(jsDelay);
return(list);
}
}

BIN
java/htmlunit/target/classes/is/rud/htmlunit/Zapp$1.class

Binary file not shown.

BIN
java/htmlunit/target/classes/is/rud/htmlunit/Zapp.class

Binary file not shown.

BIN
java/htmlunit/target/htmlunit-1.0-SNAPSHOT.jar

Binary file not shown.

4
java/htmlunit/target/maven-archiver/pom.properties

@ -1,5 +1,5 @@
#Generated by Maven
#Mon Apr 29 10:10:01 EDT 2019
version=1.0-SNAPSHOT
#Tue Mar 10 08:03:25 EDT 2020
groupId=is.rud.htmlunit
artifactId=htmlunit
version=1.0-SNAPSHOT

2
java/htmlunit/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst

@ -1,2 +1,4 @@
is/rud/htmlunit/App$1.class
is/rud/htmlunit/Zapp.class
is/rud/htmlunit/App.class
is/rud/htmlunit/Zapp$1.class

1
java/htmlunit/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst

@ -1 +1,2 @@
/Users/hrbrmstr/packages/htmlunit/java/htmlunit/src/main/java/is/rud/htmlunit/App.java
/Users/hrbrmstr/packages/htmlunit/java/htmlunit/src/main/java/is/rud/htmlunit/Zapp.java

0
java/htmlunit/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst

1
java/htmlunit/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst

@ -1 +0,0 @@
/Users/hrbrmstr/packages/htmlunit/java/htmlunit/src/test/java/is/rud/htmlunit/AppTest.java

3
man/htmlunit.Rd

@ -3,7 +3,6 @@
\docType{package}
\name{htmlunit}
\alias{htmlunit}
\alias{htmlunit-package}
\title{Tools to Scrape Dynamic Web Content via the 'HtmlUnit' Java Library}
\description{
\code{HtmlUnit} (\url{http://htmlunit.sourceforge.net/}) is \emph{a "'GUI'-Less
@ -17,7 +16,7 @@ information from web sites.}
}
\details{
Tools are provided to work with this library at a higher level than provided by
the exposed 'Java' libraries in the \href{https://gitlab.com/hrbrmstr/htmlunitjars}{htmlunitjars}
the exposed 'Java' libraries in the \href{https://gitlab.com/hrbrmstr/htmlunitjars}{\code{htmlunitjars}}
package.
\itemize{
\item URL: \url{https://gitlab.com/hrbrmstr/htmlunit}

16
man/hu_read_html.Rd

@ -4,11 +4,17 @@
\alias{hu_read_html}
\title{Read HTML from a URL with Browser Emulation & in a JavaScript Context}
\usage{
hu_read_html(url, emulate = c("best", "chrome", "firefox", "ie"),
ret = c("html_document", "text"), js_delay = 2000L,
timeout = 30000L, ignore_ssl_errors = TRUE, enable_dnt = FALSE,
download_images = FALSE, options = c("RECOVER", "NOERROR",
"NOBLANKS"))
hu_read_html(
url,
emulate = c("best", "chrome", "firefox", "ie"),
ret = c("html_document", "text"),
js_delay = 2000L,
timeout = 30000L,
ignore_ssl_errors = TRUE,
enable_dnt = FALSE,
download_images = FALSE,
options = c("RECOVER", "NOERROR", "NOBLANKS")
)
}
\arguments{
\item{url}{URL to retrieve}

12
man/wc_css.Rd

@ -22,9 +22,13 @@ The caller does not have to assign the output of this function to a
variable as the browser state is managed internally by HtmlUnit.
}
\seealso{
Other wc_opts: \code{\link{wc_dnt}}, \code{\link{wc_geo}},
\code{\link{wc_img_dl}}, \code{\link{wc_resize}},
\code{\link{wc_timeout}},
\code{\link{wc_use_insecure_ssl}}, \code{\link{wc_wait}}
Other wc_opts:
\code{\link{wc_dnt}()},
\code{\link{wc_geo}()},
\code{\link{wc_img_dl}()},
\code{\link{wc_resize}()},
\code{\link{wc_timeout}()},
\code{\link{wc_use_insecure_ssl}()},
\code{\link{wc_wait}()}
}
\concept{wc_opts}

12
man/wc_dnt.Rd

@ -22,9 +22,13 @@ The caller does not have to assign the output of this function to a
variable as the browser state is managed internally by HtmlUnit.
}
\seealso{
Other wc_opts: \code{\link{wc_css}}, \code{\link{wc_geo}},
\code{\link{wc_img_dl}}, \code{\link{wc_resize}},
\code{\link{wc_timeout}},
\code{\link{wc_use_insecure_ssl}}, \code{\link{wc_wait}}
Other wc_opts:
\code{\link{wc_css}()},
\code{\link{wc_geo}()},
\code{\link{wc_img_dl}()},
\code{\link{wc_resize}()},
\code{\link{wc_timeout}()},
\code{\link{wc_use_insecure_ssl}()},
\code{\link{wc_wait}()}
}
\concept{wc_opts}

12
man/wc_geo.Rd

@ -22,9 +22,13 @@ The caller does not have to assign the output of this function to a
variable as the browser state is managed internally by HtmlUnit.
}
\seealso{
Other wc_opts: \code{\link{wc_css}}, \code{\link{wc_dnt}},
\code{\link{wc_img_dl}}, \code{\link{wc_resize}},
\code{\link{wc_timeout}},
\code{\link{wc_use_insecure_ssl}}, \code{\link{wc_wait}}
Other wc_opts:
\code{\link{wc_css}()},
\code{\link{wc_dnt}()},
\code{\link{wc_img_dl}()},
\code{\link{wc_resize}()},
\code{\link{wc_timeout}()},
\code{\link{wc_use_insecure_ssl}()},
\code{\link{wc_wait}()}
}
\concept{wc_opts}

12
man/wc_img_dl.Rd

@ -22,9 +22,13 @@ The caller does not have to assign the output of this function to a
variable as the browser state is managed internally by HtmlUnit.
}
\seealso{
Other wc_opts: \code{\link{wc_css}}, \code{\link{wc_dnt}},
\code{\link{wc_geo}}, \code{\link{wc_resize}},
\code{\link{wc_timeout}},
\code{\link{wc_use_insecure_ssl}}, \code{\link{wc_wait}}
Other wc_opts:
\code{\link{wc_css}()},
\code{\link{wc_dnt}()},
\code{\link{wc_geo}()},
\code{\link{wc_resize}()},
\code{\link{wc_timeout}()},
\code{\link{wc_use_insecure_ssl}()},
\code{\link{wc_wait}()}
}
\concept{wc_opts}

12
man/wc_resize.Rd

@ -22,9 +22,13 @@ The caller does not have to assign the output of this function to a
variable as the browser state is managed internally by HtmlUnit.
}
\seealso{
Other wc_opts: \code{\link{wc_css}}, \code{\link{wc_dnt}},
\code{\link{wc_geo}}, \code{\link{wc_img_dl}},
\code{\link{wc_timeout}},
\code{\link{wc_use_insecure_ssl}}, \code{\link{wc_wait}}
Other wc_opts:
\code{\link{wc_css}()},
\code{\link{wc_dnt}()},
\code{\link{wc_geo}()},
\code{\link{wc_img_dl}()},
\code{\link{wc_timeout}()},
\code{\link{wc_use_insecure_ssl}()},
\code{\link{wc_wait}()}
}
\concept{wc_opts}

12
man/wc_timeout.Rd

@ -24,9 +24,13 @@ The caller does not have to assign the output of this function to a
variable as the browser state is managed internally by HtmlUnit.
}
\seealso{
Other wc_opts: \code{\link{wc_css}}, \code{\link{wc_dnt}},
\code{\link{wc_geo}}, \code{\link{wc_img_dl}},
\code{\link{wc_resize}},
\code{\link{wc_use_insecure_ssl}}, \code{\link{wc_wait}}
Other wc_opts:
\code{\link{wc_css}()},
\code{\link{wc_dnt}()},
\code{\link{wc_geo}()},
\code{\link{wc_img_dl}()},
\code{\link{wc_resize}()},
\code{\link{wc_use_insecure_ssl}()},
\code{\link{wc_wait}()}
}
\concept{wc_opts}

12
man/wc_use_insecure_ssl.Rd

@ -23,9 +23,13 @@ The caller does not have to assign the output of this function to a
variable as the browser state is managed internally by HtmlUnit.
}
\seealso{
Other wc_opts: \code{\link{wc_css}}, \code{\link{wc_dnt}},
\code{\link{wc_geo}}, \code{\link{wc_img_dl}},
\code{\link{wc_resize}}, \code{\link{wc_timeout}},
\code{\link{wc_wait}}
Other wc_opts:
\code{\link{wc_css}()},
\code{\link{wc_dnt}()},
\code{\link{wc_geo}()},
\code{\link{wc_img_dl}()},
\code{\link{wc_resize}()},
\code{\link{wc_timeout}()},
\code{\link{wc_wait}()}
}
\concept{wc_opts}

12
man/wc_wait.Rd

@ -19,9 +19,13 @@ The caller does not have to assign the output of this function to a
variable as the browser state is managed internally by HtmlUnit.
}
\seealso{
Other wc_opts: \code{\link{wc_css}}, \code{\link{wc_dnt}},
\code{\link{wc_geo}}, \code{\link{wc_img_dl}},
\code{\link{wc_resize}}, \code{\link{wc_timeout}},
\code{\link{wc_use_insecure_ssl}}
Other wc_opts:
\code{\link{wc_css}()},
\code{\link{wc_dnt}()},
\code{\link{wc_geo}()},
\code{\link{wc_img_dl}()},
\code{\link{wc_resize}()},
\code{\link{wc_timeout}()},
\code{\link{wc_use_insecure_ssl}()}
}
\concept{wc_opts}

14
man/web_client.Rd

@ -5,11 +5,17 @@
\alias{webclient}
\title{Create a new HtmlUnit WebClient instance}
\usage{
web_client(emulate = c("best", "chrome", "firefox", "ie"),
proxy_host = NULL, proxy_port = NULL)
web_client(
emulate = c("best", "chrome", "firefox", "ie"),
proxy_host = NULL,
proxy_port = NULL
)
webclient(emulate = c("best", "chrome", "firefox", "ie"),
proxy_host = NULL, proxy_port = NULL)
webclient(
emulate = c("best", "chrome", "firefox", "ie"),
proxy_host = NULL,
proxy_port = NULL
)
}
\arguments{
\item{emulate}{browser to emulate; one of "\code{best}", "\code{chrome}", "\code{firefox}", "\code{ie}"}

Loading…
Cancel
Save