Skip to main content

accessibility_snapshot

Function accessibility_snapshot 

Source
pub async fn accessibility_snapshot(
    browser_session: &BrowserSessionHandle,
    page_session: &PageSessionHandle,
    format: &str,
) -> Result<AccessibilitySnapshotInfo, String>
Expand description

Capture every browsing context (including cross-origin frames) via WebDriver BiDi. The serialized tree is a DOM approximation, not the browser’s platform AX tree.