Navigate the browser to specified URL, waiting until the page is considered open before finishing.
Arguments
- url
The URL to navigate to: a string.
- timeout
The maximum time to wait for the page to load, in seconds.
- session
A
selenider_session
object. If not specified, the global session object (the result ofget_session()
) is used.
See also
Other global actions:
back()
,
current_url()
,
execute_js_fn()
,
get_page_source()
,
reload()
,
take_screenshot()
Examples
session <- selenider_session()
open_url("https://r-project.org")
# Or:
open_url(session = session, "https://r-project.org")