Home > assistive-playwright-client > ScreenReaderClient > create
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>;
Parameter | Type | Description |
---|---|---|
url | string | Websocket URL such as ws://127.0.0.1:7779/screen-reader |
Returns:
Promise<ScreenReaderClient>