Module S.Session
For creating and deleting sessions manually.
val make : host:string -> Capabilities.t -> (session * json) io
make ~host cap
creates a new session onhost
with the requiredcap
abilities. It returns the createdsession
and ajson
describing the available capabilities of the session.
val delete : unit cmd
delete ~session
closes thesession
and remove all of its windows, cookies, etc.