session
Protocol bindings for all session operations. In case you are looking for
[POST] session
to initialise a session on the server, take a look at /lib/protocol/init
.
Usage
1 | browser.session([doWhat],sessionId); |
Parameters
Param | Type | Details | |
---|---|---|---|
doWhat optional |
String | session operation (get (default) |
delete ) |
sessionId | String | session id to operate on |
Example
1 | it('should get/delete current session using the protocol command', function () { |