fix: adapt setContent call sites for puppeteer-core 24.43.1
puppeteer-core 24.43.1 (puppeteer/puppeteer#14940) narrowed Page.setContent's options to SetContentWaitForOptions, excluding networkidle0/networkidle2 from waitUntil. The union-bound `gotoCall` pattern across the four shared HTTP routes broke type-checking because GoToOptions could no longer satisfy the intersected parameter type. Introduce toSetContentOptions() in utils to strip the unsupported waitUntil values, and branch each call site explicitly between page.goto and page.setContent. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
A
Artiom Lunev committed
18058981e140177cb47cfbc77c1ce5653d397ebf
Parent: 13f7722