This class allows you to interact with the different sessions which are present in the Browser
size
Return
Returns the number of sessions present in the Browser
asList
global cym.Browser.Session[] asList();
Return
Returns a List representation of the
Sessions present in the Browser
add
Adds a session to the current sessions present in the browser.
This method makes a callout and should therefore be used before any DML.
global Session add(Id userId);
Input
userId
: The Id of the user which is about to login using the current Browser.
Return
Returns a Session for the new user.