Ancestors

Toot

Written by Dennis Koch on 2024-08-31 at 12:55

One of my side projects is using Puppeteer to compare screenshots of our pages before/after an update. But I struggle for ages now, to get consistent results from Puppeteer. Most often it appears to use a different zoom, but the config and the page are exactly the same. Sometimes it applies different CSS breakpoints and even mixes them. I'm so confused šŸ™ˆ

=> More informations about this toot | More toots from denniskoch@phpc.social

Descendants

Written by Dennis Koch on 2024-08-31 at 13:13

I feel like I spent more time on trying to get Puppeteer to work probably than manually testing all the pages for issues šŸ™ˆ

=> More informations about this toot | More toots from denniskoch@phpc.social

Written by Stefan Zweifel on 2024-08-31 at 14:02

@denniskoch Iā€˜m more and more convinced that Pulpeteer is quantum-software.

I ran into so many issues with it over the years. Getting the same result for the same code sometimes feels impossible. šŸ˜…

=> More informations about this toot | More toots from stefanzweifel@phpc.social

Written by Dennis Koch on 2024-08-31 at 14:03

@stefanzweifel I'm wondering whether Playwright would improve this. But I guess chromium might be the issue šŸ˜…

=> More informations about this toot | More toots from denniskoch@phpc.social

Written by Stefan Zweifel on 2024-09-01 at 18:27

@denniskoch Hm. A browsershot like wrapper for Playwright sounds intriguing. šŸ‘€

=> More informations about this toot | More toots from stefanzweifel@phpc.social

Written by Dennis Koch on 2024-08-31 at 14:06

@stefanzweifel I think my new strategy will be: Repeat the tests as long as less comparisons fail.

=> More informations about this toot | More toots from denniskoch@phpc.social

Written by Dennis Koch on 2024-08-31 at 14:19

@stefanzweifel the worst part is: When you test with a little site everything is fine first try. Then you deploy and test with multiple sites on the queue and all sites have issues šŸ™ˆ Is it network, CPU, OS?

=> More informations about this toot | More toots from denniskoch@phpc.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113056739443858659
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
277.024527 milliseconds
Gemini-to-HTML Time
1.764313 milliseconds

This content has been proxied by September (3851b).