Assistive-Webdriver

Home > assistive-playwright-client > ScreenReaderClient > create

ScreenReaderClient.create() method

Connects to a websocket url and returns a corresponding instance of ScreenReaderClient as soon as it is connected.

Signature:

static create(url: string): Promise<ScreenReaderClient>;

Parameters

Parameter Type Description
url string Websocket URL such as ws://127.0.0.1:7779/screen-reader

Returns:

Promise<ScreenReaderClient>