Assistive-Webdriver

Home > assistive-playwright-client > ScreenReaderClient > clearMessages

ScreenReaderClient.clearMessages() method

Empties the messages array and returns its previous content.

Signature:

clearMessages(): string[];

Returns:

string[]