start_session: Create a new Webdriver session

Description Usage Arguments Value

Description

This function creates a new Webdriver session with specificed capabilities

Usage

1
2
3
4
  start_session(root = NULL, browser = "firefox",
    javascriptEnabled = TRUE, takesScreenshot = TRUE,
    handlesAlerts = TRUE, databaseEnabled = TRUE,
    cssSelectorsEnabled = TRUE)

Arguments

root

a string giving the Java-Server IP

browser

a string giving the browser under which the session is started

takesScreenshot

a logical value indicating whether the session supports taking screenshots of the current page

handlesAlerts

a logical value indicating whether the session can interact with modal popups, such as window.alert and window.confirm

databaseEnabled

a logical value indicating whether the session can interact database storage

cssSelectorsEnabled

a logical value indicating whether the session supports CSS selectors when searching for elements

javascriptEnabled

a logical value indicating whether the session supports executing user supplied JavaScript in the context of the current page

Value

A list describing the session's capabilities.


crubba/Rwebdriver documentation built on May 14, 2019, 12:05 p.m.