@christian-bromann/webdriverio
Version:
A nodejs bindings implementation for selenium 2.0/webdriver
25 lines (22 loc) • 429 B
JavaScript
/**
*
* End the session and close browser.
*
* <example>
:endAsync.js
client
.init() // starts session and opens the browser
.url('http://google.com')
// ... other commands
.end(); // ends session and close browser
* </example>
*
* @alias browser.end
* @uses protocol/session
* @type utility
*
*/
let end = function () {
return this.session('delete')
}
export default end