i'm running chrome with the flag "--disable-web-security" using puppeteer.js to create an automate script that can run every certain time in my laptop. the problem happens whenthe browser goes to https://www.facebook.com/ the page sends me an alert saying this : 'Please try closing and re-opening your browser window' but when i run the script without the flag i can go to the facebook page without problems. I need the flag because i'm making some request to another servers inside the facebook's page. how can i solve this?

0 Answers