Chrome DevTools Protocol Browser.newContext with userDataDir: Persistence Across Unclean Shutdowns?
Goal: Establish a repeatable development environment by launching Chrome through the DevTools Protocol's Browser.newContext method with a specified userDataDir so that cookies, localStorage, and extension state persist across restarts. Uncertainty: Chrome’s internal cleanup routines may delete or modify files inside the userDataDir when it detects an unclean