100+ copy-paste UI components in plain HTML and CSS: no dependencies, no build step.

0 downloads

dbbasic-web-native/take-screenshot.js
Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-web-native.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-web-native.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-web-native.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

danq9 Add canonical.html v1.0 - The single source of truth for usability standards fb6e650 1 year ago History
take-screenshot.js · 460 bytes · 11 lines
1const { chromium } = require('playwright');
2
3(async () => {
4 const browser = await chromium.launch();
5 const page = await browser.newPage();
6 await page.setViewportSize({ width: 1920, height: 1080 });
7 await page.goto('file://' + process.cwd() + '/demo-saas-landing.html');
8 await page.screenshot({ path: 'demo-fixed-layout.png', fullPage: false });
9 await browser.close();
10 console.log('Screenshot saved to demo-fixed-layout.png');
11})();