Creates a headless Chromium browser and page, runs f, then closes both.
Like withPage but opens a visible browser window — useful for debugging.