fb-delete
fb-delete copied to clipboard
Accept Cookies
Upon running the script as instructed, a chromium windows opens very briefly. Following error is printed in the terminal.
node:internal/process/promises:279 triggerUncaughtException(err, true /* fromPromise */); ^
Error: Error: failed to find element matching selector "input[id=m_login_email]"
at ElementHandle.$eval (/home/jakob/Downloads/fb-delete/node_modules/puppeteer/lib/JSHandle.js:504:13)
at async main (/home/jakob/Downloads/fb-delete/index.js:18:3)
-- ASYNC --
at ElementHandle.
After recording the screen for the script execution, it seems that an 'accept cookies' window is what opens. It seems like the chromium browser that's opened is one installed as a dependency.
That's strange, I'm not seeing the "accept cookies" window when I visit mbasic.facebook.com in a fresh browser. Would it possible to send a screenshot? That copy of Chromium is included by Puppeteer.
Executing the script in my computer results to the same behaviour descriped by the TO. But the temporary opened chromium browser will exit before i could manually click on "accept cookies"
, I'm not seeing the "accept cookies" window when I visit mbasic.facebook.com in a fresh browser
Just delete the cookies and browser data from the chromium, after that (in my case) the accept cookie window will appear again
Edit: Even no success, if a start the chromium instance from Puppeteer folder and accept all cookies from [.]mbasic.facebook.com and [.]facebook.com.
I just tried this again from a fresh Chromium instance and don't believe I'm getting the cookie pop-up. I wonder if it's a regional thing? I may need some detailed screenshots or for someone experiencing this to submit a PR.
Thanks for the hint with the regional thing! That's exactly it!. So as an solution (for me as a german):
-Connect VPN to United States
That's it. Greetings to DSGVO.
Ganz gut, vielen Dank @opc241!
Fixed by https://github.com/spieglt/fb-delete/commit/fb49b77e26d2f17efb1a27a1780c84df09217869