aeat.adapters.outbound.aeat.sede._browser_constants module¶
Playwright browser wait-state constants and settings accessors for the sede adapter.
Centralises the Playwright wait_until / wait_for_load_state string
literals and the settings-backed viewport / probe-timeout accessors used
throughout the sede adapter so they are defined once and verified by static
analysis rather than duplicated across every navigation module.
- PLAYWRIGHT_WAIT_DOMCONTENTLOADED: Final[Literal['domcontentloaded']]¶
Playwright wait state that resolves as soon as the HTML document has been parsed and the DOM is ready (no sub-resources awaited).
- PLAYWRIGHT_WAIT_NETWORKIDLE: Final[Literal['networkidle']]¶
Playwright wait state that resolves once all pending network requests have completed or timed out (i.e., the network has gone idle).
- PLAYWRIGHT_TIMEOUT_SHORT_MS: Final[int]¶
Short Playwright timeout (ms) used for non-critical
wait_for_load_stateprobes inside retry loops where proceeding on timeout is the desired behaviour.
- SEDE_BODY_ENCODING: Final[str]¶
Character encoding used by the AEAT sede for legacy fixed-width response bodies (e.g. Modelo 303 page-03 records). Alias of the canonical
LATIN_1_ENCODINGconstant; kept under this adapter-local name so existing callers do not need to reach intoexternal_constantsdirectly.