This class provides the basic methods to interact with a user's browser

Methods

getCurrent

global static cym.Browser getCurrent();

Return

Returns the current Browser.
This method requires access to the user cookies. And therefore can be only be used on VisualForce Page Controller constructors and action methods.

fromHandle

global static cym.Browser fromHandle(String handle);

Input

handle : A String representation of a handle which was generated previously for the browser.

Return

Returns the current Browser.
This method can be used as long as a valid handle is provided.

fromHandle

global static cym.Browser fromHandle(cym.Browser.Handle handle);

Input

handle : A Handle object which was generated previously for the browser.

Return

Returns the current Browser.
This method can be used as long as a valid handle is provided.

handle

global cym.Handle handle;

Return

Returns a Handle for the current Browser.

sessions

global cym.Browser.Sessions sessions;

Return

Returns the Sessions for the current Browser.