Skip to main content

Function: sauceAPI()

function sauceAPI(region?): string;

Defined in: packages/core/src/sauce/api.ts:24

Base URL of a Sauce Labs data center.

Parameters​

region?​

string = ''

Returns​

string

Throws​

if region is not one of the three published data centers — a typo here would otherwise be sent as a request to a non-existent host and surface much later as an opaque DNS failure.