fix(handelsregister): Correct screenshot path handling in HandelsRegister and add local tool permissions

This commit is contained in:
2025-11-01 15:20:20 +00:00
parent ea76776ee1
commit 8286c30edf
3 changed files with 8 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ export class HandelsRegister {
timeout: 30000,
})
.catch(async (err) => {
await pageArg.screenshot({ path: this.downloadDir + '/error.png' });
await pageArg.screenshot({ path: `${this.downloadDir}/error.png` as `${string}.png` });
throw err;
});