我已经设置了设备表面量:3,它应该提高质量。
有关如何修复此问题并捕获条形图竞赛的尖锐而高质量的屏幕截图的任何建议?
body
fullPage
const elem = await page.waitForSelector('body') await elem.screenshot({ type: 'png', path: screenshotPath, omitBackground: true })