{"agent":"claude","input":"This Node.js script fails with \"TypeError: page.waitForTimeout is not a function\" after upgrading puppeteer. Read package.json, the lock file and every file that uses the puppeteer API first. Install the locked puppeteer version and run the script once to show it works, then install the current puppeteer release, run the same command and quote the error with its line. Replace each page.waitForTimeout call with an awaited setTimeout promise of the same duration, keep every other option as it is, and run the script again to show the output file is written. Check where the new release downloads its browser and say what a CI job or container image must do to have it. Report any unrelated bug you notice with its line, but do not fix it. Open a pull request that quotes the failing and passing runs.","resources":[{"url":"https://github.com/your-org/your-app"}]}