Skip to main content
The ClientWorker class represents a worker (the Uplink SDK running on a physical device) connected to your Uplink session. It provides methods for managing browsers on the worker and querying device information.
A worker is an instance of the Uplink SDK running on a physical iOS or Android device. A device can create multiple workers when connecting to sessions.

Browser operations

worker.launch()

Launches a new browser on this worker. Used when listening for worker-connected events from the Client class.
Returns: Promise<Browser> - New browser instance Example:

worker.browsers()

Lists all browsers currently running on this worker.
Returns: Promise<Browser[]> - Array of browser instances Example:

Device information

worker.getDeviceInfo()

Gets device information including model, platform, and OS version.
Returns: Promise<WorkerInfo> - Device information object Example:

WorkerInfo type

Worker management

worker.terminate()

Terminates this worker’s connection to the session.
Returns: Promise<void> Example:
Terminating a worker closes all browsers running on it and disconnects the device from the session. This action cannot be undone.

Properties

worker.address

The unique hex-encoded address identifier for this worker.

Client

Session and connection management

Browser

Browser operations

Device management

Device management patterns

Core concepts

Architecture overview