end

End the session and close browser.

Usage

1
client.end().then(callback);

Parameters

Param Type Details

Example

end.js
1
2
3
4
5
client
.init() // starts session and opens the browser
.url('http://google.com')
// ... other commands
.end(); // ends session and close browser

Uses