1
0

fix: "Ad 6,7" in absences

This commit is contained in:
2025-11-20 11:55:10 +01:00
parent 7fffbf6d06
commit 3d0f971b8d
3 changed files with 16 additions and 8 deletions

View File

@@ -61,7 +61,7 @@ async function handleError(page, err) {
const downloadPath = path.resolve('./downloads');
if (!fs.existsSync(downloadPath)) fs.mkdirSync(downloadPath);
const client = await page.target().createCDPSession();
const client = await page.createCDPSession();
await client.send('Page.setDownloadBehavior', {
behavior: 'allow',
downloadPath: downloadPath,