Skip to content

voiceOver.navigateToWebContent() Issue #25

@khoaguye

Description

@khoaguye

I am trying to use the tool, my goal is to get the label of each element cursor at. So I have:

await voiceOver.navigateToWebContent()
await voiceOver.await voiceOver.next();
const spoken = await voiceOver.itemText();
console.log(spoken)

The problem is that nothing after await voiceOver.navigateToWebContent() runs. My assumption is that navigateToWebContent() walks through every element on the screen instead of just moving the cursor to the first element, so the call blocks until it finishes. Is that correct?

If so, is there a way to position the cursor on the first element only and then iterate through the page with voiceOver.next()?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions