daydos / us-visa-appointment

A puppeteer script to find and schedule an earlier interview for visas
GNU General Public License v2.0
79 stars 52 forks source link

Headless Warning, Please help!!!!!!!!!! #9

Closed Msoffice12314 closed 1 year ago

Msoffice12314 commented 1 year ago

headless error

Please help me fix this !!!

KaranmaanCanada commented 11 months ago

headless error

Please help me fix this !!!

How did you fix this bro

Danilo-GB commented 11 months ago

If I'm not wrong, just change: const browser = await puppeteer.launch();

to: const browser = await puppeteer.launch({ headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox'] })

KaranmaanCanada commented 11 months ago

If I'm not wrong, just change: const browser = await puppeteer.launch();

to: const browser = await puppeteer.launch({ headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox'] })

Still getting the same error, please help

Danilo-GB commented 11 months ago

Can you paste your full output pls?

KaranmaanCanada commented 11 months ago

Can you paste your full output pls?

It’s the same as mentioned on the top . Same output as he’s getting

Danilo-GB commented 11 months ago

I mean... you could try with const browser = await puppeteer.launch({ headless: 'new' });

as the warning says, however, it is a warning, it should not stop the project, are you sure you don't have any other issue? did you added the extra headers as the pr?

KaranmaanCanada commented 11 months ago

I mean... you could try with const browser = await puppeteer.launch({ headless: 'new' });

as the warning says, however, it is a warning, it should not stop the project, are you sure you don't have any other issue? did you added the extra headers as the pr?

Actually I’m not friendly with

I mean... you could try with const browser = await puppeteer.launch({ headless: 'new' });

as the warning says, however, it is a warning, it should not stop the project, are you sure you don't have any other issue? did you added the extra headers as the pr?

Actually I’m not friendly with The puppeteer. I’m able to run https://github.com/Soroosh-N/us_visa_scheduler , this python project easily bubuy not the java one . When i’m putting arguments in terminal it’s just showing this https://github.com/daydos/us-visa-appointment/issues/9#issue-1773351772