Clicks an element by its text content.
Text to be clicked on.
Optional
Filter the XPath selector.
await clickText(page, 'Save and submit'); Copy
await clickText(page, 'Save and submit');
Generated using TypeDoc
Clicks an element by its text content.