aeat.adapters.outbound.aeat.browser package

Central browser-automation surface for AEAT outbound adapters.

Owns the Playwright-backed browser sessions every outbound AEAT adapter shares, plus the site-health probing that classifies whether the Sede is reachable, rate-limiting, under maintenance, or serving a WAF challenge. The optional browser runtime is materialised only by the session factories; importing this facade exposes types and factories without opening a browser. Non-OK site-health classifications are carried through core.errors.SiteHealthError so diagnostics and live-read application code can inspect one status envelope instead of re-parsing pages.

Major declarations:

See also

adapters.outbound.aeat.auth.BrowserContextProvisioner

Auth-provider hook consumed by BrowserSession.create_context().

adapters.outbound.aeat.auth.CertificateContextProvisioner

Certificate-auth provisioner that adds Playwright client-certificate kwargs and the context thumbprint marker.

adapters.outbound.aeat.sede

Read-only Sede readers that consume these browser sessions.

Submodules