Tools to Work with the 'Splash' JavaScript Rendering Service in R
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

splash_wait.Rd 1002B

12345678910111213141516171819202122232425262728293031323334353637
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/dsl.R
  3. \name{splash_wait}
  4. \alias{splash_wait}
  5. \title{Wait for a period time}
  6. \usage{
  7. splash_wait(splash_obj, time = 2)
  8. }
  9. \arguments{
  10. \item{splash_obj}{splashr object}
  11. \item{time}{number of seconds to wait}
  12. }
  13. \description{
  14. When script is waiting WebKit continues processing the webpage
  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_har}}, \code{\link{splash_html}},
  31. \code{\link{splash_png}}, \code{\link{splash_press}},
  32. \code{\link{splash_release}},
  33. \code{\link{splash_send_keys}},
  34. \code{\link{splash_send_text}}
  35. }
  36. \concept{splash_dsl_functions}