Last active
March 26, 2022 22:06
-
-
Save ckundo/9a577f9ce0f67e39b6a8c97e107fe74f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const page = await browser.newPage(); | |
await page.goto('https://www.example.com', { waitUntil: "domcontentloaded" }); | |
const voiceOver = new VoiceOver(); | |
await voiceOver.launch(); | |
await voiceOver.rotor({ menu: "Window Spots", find: "conten" }); | |
await voiceOver.execute(startInteracting); | |
const output = await voiceOver.seek({ text: 'link More information...' }); | |
await voiceOver.quit(); | |
await browser.close(); | |
expect(output).toContain('link More information...'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment