Description Usage Arguments Value
This function creates a new Webdriver session with specificed capabilities
1 2 3 4 |
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 |
A list describing the session's capabilities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.