The client
The nvda fixture wraps the session’s NvdaClient in the DSL. Request
nvda_session to use the client directly. Both expose the same namespaces: speech, braille,
keys, config, log, and addons.
| Member | Behaviour |
|---|---|
|
|
|
blocks until NVDA’s event queue drains |
|
clears speech, braille, and log, and restores the baseline configuration |
|
kills and relaunches the NVDA process; does not exercise NVDA’s own restart |
|
triggers NVDA’s own |
|
run code inside NVDA; require |
|
queues code on NVDA’s main thread without waiting; use it for scenarios that open a modal dialog |
|
closes a real modal dialog opened by |
Use restart_harness() for a clean process and restart_nvda() to verify behaviour that lives in
NVDA’s real self-relaunch path. See Closing a real modal dialog for the modal workflow.