Earlier quoted context omitted.
Interesting: can you elaborate on this? Would love to better understand it, so we can consider adding this.
This is like that scene in Star Wars where Luke asks questions and Yoda just closes his eyes, fades away and dies. This is meant as a light hearted question: how could you have gotten this far making a viewport tester and the mobile website development journey without understanding and dealing with the most important and disruptive behavior in mobile viewports? Like I get that this is just a free project and it does…
Show HN: Test your website on 180+ device viewports (with multi-device mode)
41–50 of 53 posts
Re: Show HN: Test your website on 180+ device viewports (with multi-device mode)
#42Earlier quoted context omitted.
Interesting: can you elaborate on this? Would love to better understand it, so we can consider adding this.
I am not the person who originally asked for this, but I’d want to scan my eyes over conditions: * with and without the keyboard focused, * in each of the preference states (e.g. tab bar vs single tab for iOS, which influences whether there’s a compact address/button bar on the bottom or an address bar at top plus a button bar at bottom), and * both of those in portrait and landscape
Re: Show HN: Test your website on 180+ device viewports (with multi-device mode)
#43This reminded me of a very similar one but for the desktop from a few years back. Here you go; https://responsively.app Source at https://github.com/responsively-org/responsively-app
There's not yet a way to resize the viewport and take another screenshot without loading the page again.
There's not yet a way to store (h,w,scale,showbrowserchrome) configurations in a YAML file; but shot-scraper does work in GitHub Actions.
Some web testing tools can record a video of a test session and save it if there's a test failure.
E.g. Playwright defaults to an 800x600 viewport for test videos to retain-on-failure or record only if on-first-retry: https://playwright.dev/docs/videos
Something like Cloudflare Browser Isolation - which splits the browser at an interface such that a Chrome browser server runs on a remote server and a Chrome client runs locally - might make it easier to compress recordings of n x test invocations (in isolated browsers or workers)
Re: Show HN: Test your website on 180+ device viewports (with multi-device mode)
#44Re: Show HN: Test your website on 180+ device viewports (with multi-device mode)
#45This reminded me of a very similar one but for the desktop from a few years back. Here you go; https://responsively.app Source at https://github.com/responsively-org/responsively-app
shot-scraper is a CLI tool for HTML render snapshots with --height --width and --scale-factor (--retina ~= --scale-factor=2.0) args, and a -j/--javascript option to run JS before taking the screenshot. There's not yet a way to resize the viewport and take another screenshot without loading the page again. There's not yet a way to store (h,w,scale,showbrowserchrome) configurations in a YAML file; but shot-scraper does…
Re: Show HN: Test your website on 180+ device viewports (with multi-device mode)
#46Earlier quoted context omitted.
shot-scraper is a CLI tool for HTML render snapshots with --height --width and --scale-factor (--retina ~= --scale-factor=2.0) args, and a -j/--javascript option to run JS before taking the screenshot. There's not yet a way to resize the viewport and take another screenshot without loading the page again. There's not yet a way to store (h,w,scale,showbrowserchrome) configurations in a YAML file; but shot-scraper does…
This is awesome: thanks for these resources! We'll take a look at Cloudflare Browser Isolation for sure. We've played with screenshot tools at specific viewport dimensions etc, but it's not often the right fit for when we're doing interactive frontend responsive updates. That aside though, the screenshot APIs could be a great integration to be able to download/save screenshots of specific viewports.
Re: Show HN: Test your website on 180+ device viewports (with multi-device mode)
#47Earlier quoted context omitted.
This is awesome: thanks for these resources! We'll take a look at Cloudflare Browser Isolation for sure. We've played with screenshot tools at specific viewport dimensions etc, but it's not often the right fit for when we're doing interactive frontend responsive updates. That aside though, the screenshot APIs could be a great integration to be able to download/save screenshots of specific viewports.
DevTools has a list of default viewport sizes, but they change from browser release to release. Is there a better way or an existing [YAML] file schema to generate a list of viewport configurations to import into DevTools?
Re: Show HN: Test your website on 180+ device viewports (with multi-device mode)
#48Re: Show HN: Test your website on 180+ device viewports (with multi-device mode)
#49Thank you for creating this! Impressed by multi-devices at once. Looking forward to seeing how this evolves!