File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -712,9 +712,24 @@ data:
712712 function run () {
713713 return new Promise(async (resolve, reject) => {
714714 const browser = await puppeteer.launch({
715- headless: 'shell' ,
715+ headless: true ,
716716 defaultViewport: null,
717- args: ['--no-sandbox', '--disable-setuid-sandbox']
717+ args: [
718+ '--no-sandbox',
719+ '--disable-setuid-sandbox',
720+ '--disable-gpu',
721+ '--disable-dev-shm-usage',
722+ '--disable-web-security',
723+ '--disable-features=VizDisplayCompositor',
724+ '--max-old-space-size=256',
725+ '--disable-extensions',
726+ '--disable-plugins',
727+ '--disable-background-networking',
728+ '--disable-background-timer-throttling',
729+ '--disable-backgrounding-occluded-windows',
730+ '--disable-renderer-backgrounding',
731+ '--memory-pressure-off'
732+ ]
718733 });
719734 try {
720735 const wait_time = 500; //Set up delay between page interactions
You can’t perform that action at this time.
0 commit comments