Home > assistive-webdriver > refreshScreenReaderText
Calls the assistive-webdriver server to get any new text coming from the screen reader, and, if there is any, synchronously calls listeners registered with addScreenReaderTextListener().
Signature:
export declare function refreshScreenReaderText(webdriver: WebdriverLike): Promise<string[]>;
Parameter | Type | Description |
---|---|---|
webdriver | WebdriverLike | reference to the selenium-webdriver instance |
Returns:
Promise<string[]>