Session

import type {Session} from 'cabbie-async';

An object representing the session state. You can pass a session to createCabbieDriver to create a new driver from an existing session. e.g.

const driver = createCabbieDriver(oldDriver.remote, {...oldDriver.options, session: await oldDriver.session});

Properties

sessionID: string

The selenium ID of the current session

capabilities: Object

An object representing the capabilities that the selenium server says it supports.