fix(handelsregister): Correct screenshot path handling in HandelsRegister and add local tool permissions
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user