mirror of
https://github.com/penpot/penpot.git
synced 2026-09-09 05:28:43 +00:00
✨ Allow self-signed certs on plugins e2e browser setup
This commit is contained in:
parent
12bc3ac9ed
commit
1e7bef081a
@ -56,7 +56,7 @@ export async function Agent() {
|
|||||||
console.log('File URL:', fileUrl);
|
console.log('File URL:', fileUrl);
|
||||||
|
|
||||||
console.log('Launching browser...');
|
console.log('Launching browser...');
|
||||||
const browser = await puppeteer.launch({});
|
const browser = await puppeteer.launch({args: ['--ignore-certificate-errors']});
|
||||||
const page = await browser.newPage();
|
const page = await browser.newPage();
|
||||||
|
|
||||||
await page.setViewport({ width: 1920, height: 1080 });
|
await page.setViewport({ width: 1920, height: 1080 });
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user