pl.wendigo.chrome.domain.accessibility / AccessibilityDomain

AccessibilityDomain

class AccessibilityDomain (source)

AccessibilityDomain represents remote debugger protocol domain.

Functions

disable

fun disable(): Single<ResponseFrame>

Disables the accessibility domain.

enable

fun enable(): Single<ResponseFrame>

Enables the accessibility domain which causes AXNodeIds to remain consistent between method calls. This turns on accessibility for the page, which can impact performance until accessibility is disabled.

events

fun events(): Flowable<ProtocolEvent>

Returns flowable capturing all Accessibility domains events.

getFullAXTree

fun getFullAXTree(): Single<GetFullAXTreeResponse>

Fetches the entire accessibility tree

getPartialAXTree

fun getPartialAXTree(input: GetPartialAXTreeRequest): Single<GetPartialAXTreeResponse>

Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.