Skip to contents

A pause action to be passed into actions_stream(). Waits for a given number of seconds before performing the next action in the stream.

Usage

actions_pause(seconds)

Arguments

seconds

The number of seconds to wait for.

Value

A selenium_action object.

Examples

actions_stream(
  actions_pause(1)
)
#> [[1]]
#> [[1]]$type
#> [1] "none"
#> 
#> [[1]]$id
#> [1] "834333"
#> 
#> [[1]]$actions
#> [[1]]$actions[[1]]
#> $type
#> [1] "pause"
#> 
#> $duration
#> [1] 1000
#> 
#> attr(,"class")
#> [1] "selenium_action"       "selenium_action_pause"
#> 
#> 
#> 
#> attr(,"class")
#> [1] "selenium_actions_stream"