1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-18 02:55:17 +00:00

docs(puppeteer): add accessibility functions

This commit is contained in:
Julien Le Coupanec 2020-03-19 14:42:57 +01:00
parent c2e320b3d3
commit 2a8409ed54

View File

@ -225,7 +225,7 @@ worker.url() // Returns worker url.
// The accessibility tree is used by assistive technology such as screen readers or switches.
// https://pptr.dev/#?product=Puppeteer&version=v2.1.1&show=api-class-accessibility
accessibility.snapshot([options]) //
accessibility.snapshot([options]) // Captures the current state of the accessibility tree. The returned object represents the root accessible node of the page.
// KEYBOARD
// Keyboard provides an api for managing a virtual keyboard.