Lifecycle
Lifecycle responsibilities
Section titled “Lifecycle responsibilities”- Launch Chrome when the facade owns the process.
- Attach to an existing browser session when
attachis provided. - Close the browser process only when this instance owns it.
- Reject pending work cleanly during shutdown.
Important notes
Section titled “Important notes”- Keep attach-mode and spawn-mode behavior aligned.
- The docs and tests treat cleanup as part of the public contract.