Tools to Work with the 'Splash' JavaScript Rendering Service in R
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

splash_har.Rd 1.1KB

1234567891011121314151617181920212223242526272829303132333435
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/dsl.R
  3. \name{splash_har}
  4. \alias{splash_har}
  5. \title{Return information about Splash interaction with a website in HAR format.}
  6. \usage{
  7. splash_har(splash_obj)
  8. }
  9. \arguments{
  10. \item{splash_obj}{splashr object}
  11. }
  12. \description{
  13. Similar to \code{\link[=render_har]{render_har()}} but used in a script context. Should be the LAST element in
  14. a DSL script chain as this will execute the script and return the HAR content
  15. }
  16. \examples{
  17. \dontrun{
  18. splash_local \%>\%
  19. splash_response_body(TRUE) \%>\%
  20. splash_user_agent(ua_macos_chrome) \%>\%
  21. splash_go("https://rud.is/b") \%>\%
  22. splash_wait(2) \%>\%
  23. splash_har() -> rud_har
  24. }
  25. }
  26. \seealso{
  27. Other splash_dsl_functions: \code{\link{splash_add_lua}},
  28. \code{\link{splash_click}}, \code{\link{splash_focus}},
  29. \code{\link{splash_go}}, \code{\link{splash_har_reset}},
  30. \code{\link{splash_html}}, \code{\link{splash_png}},
  31. \code{\link{splash_press}}, \code{\link{splash_release}},
  32. \code{\link{splash_send_keys}},
  33. \code{\link{splash_send_text}}, \code{\link{splash_wait}}
  34. }
  35. \concept{splash_dsl_functions}