lib/js/screenshot-generator.js in Dhalang-0.3.0 vs lib/js/screenshot-generator.js in Dhalang-0.3.1
- old
+ new
@@ -4,10 +4,10 @@
const createPdf = async () => {
const configuration = dhalang.getConfiguration(true);
let browser;
try {
- browser = await dhalang.launchPuppeteer(configuration.puppeteerModulePath);
+ browser = await dhalang.launchPuppeteer(configuration.puppeteerPath);
const page = await browser.newPage();
await page.goto(configuration.webPageUrl, dhalang.getNavigationParameters());
await page.waitFor(250);
await page.screenshot({
path: configuration.tempFilePath,
\ No newline at end of file