If you like SEOmastering Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

Problems with javascript screenshot capturing

Started by netJD, 04-15-2024, 05:01:37

Previous topic - Next topic

netJDTopic starter

I'm currently facing challenges (that's an understatement!) in capturing accurate website screenshots using Node.js. Puppeteer seems inconsistent across various websites, especially with ads and cookie banners interfering with the top and bottom of the page. Manually fixing these issues isn't an option because I'll need to take multiple screenshots for user guides, marketing materials, and product layout/design comparisons with competitors. Basically, I need high-quality screenshots efficiently for different departments' needs. I thought of trying to do it with Selenium, but before I get stuck, I wanted to ask here. Does any solution come to mind?
  •  


jungleplanetar

My sister struggled with the same issue. In her case, selenium didn't really do the trick. At some point, we were both checking how the same page is captured with different methods to save some time.  She managed to get decent screenshots with phantom.js (no ads/cookie banners) but it wasn't the most convenient way. And it's worth mentioning it was a one-time project, unlike in your case. Here are several approaches you can test out, but you still might experience some problems with particular types of websites.
  •  

netJDTopic starter

Thanks, I'll give these methods a shot. Although you made a good point, no solution will work for all websites. I'll start looking for a tool to make my life easier.
  •  



If you like SEOmastering Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...