Can I capture a nodejs screenshot without cookie banners getting on my nerves?

mirbrownbread

Elite Member
Nov 16, 2022
125
134
48
Belgium
Country
Belgium
Gender
Male
And more importantly - on my screenshots. So, I'm using node.js and trying with playwright, but haven't had much luck. Working on a project where I need to capture accurate screenshots (multiple websites), and I cannot spend this much time fixing each one; it's time-consuming and nerve-wracking. Any suggestions on how to get screenshots without ads and cookie banners?
 

mirbrownbread

Elite Member
Nov 16, 2022
125
134
48
Belgium
Country
Belgium
Gender
Male
Off the top of my head, you could try with phantomjs
Seems to be a very good guess, thank you. Last night, I found this guide on how to capture node screenshot, and phantom looks like a promising method. I still need to look into the details and do the testing, but I see it can give a screenshot with no ads/cookie banners. I am overloaded with due dates these days, which contributed to frustration going through the roof. I know it was a long shot asking about this; it's very specific. Thanks for bearing with me, guys.