aeat.adapters.outbound.aeat._playwright module¶
Import-safe Playwright aliases for AEAT outbound adapters.
Browser and Sede modules import PlaywrightError and
PlaywrightTimeoutError to classify navigation, context, and stage
failures. This module remains import-safe without the optional browser
extra: when playwright is absent, the aliases fall back to local exception
classes so except PlaywrightError sites still import and parse.
A missing extra can only mean the live browser feature was never reached. The
actual launch boundary still guards through the project browser extra before
starting Playwright, so the fallback classes are placeholders for importability,
not a second execution path.
See also
adapters.outbound.aeat.browser.default_browser_session_factory()Production browser factory that reaches the guarded Playwright startup path.
adapters.outbound.aeat.browser.BrowserErrorBrowser-layer envelope raised when the optional extra or Playwright startup fails.
adapters.outbound.aeat.sede._browser_stage.run_playwright_stage()Sede stage wrapper that catches these aliases for timeout and transport mapping.