Open Upgreydd opened 1 month ago
To add clarity to what @onlythetoast and @Upgreydd said:
Edit /src/wiring/savePage.ts
const directoryPath = path.dirname(filePath); const fileName = encodeURIComponent(path.basename(filePath)); // Only encode the file name const fullPath = `file://${directoryPath}/${fileName}`; await browserPage.goto(fullPath);```
To add clarity to what @onlythetoast and @Upgreydd said:
Edit /src/wiring/savePage.ts