Skip to content

Instantly share code, notes, and snippets.


Josef Ježek JosefJezek

  • Heart of Europe
View GitHub Profile
JosefJezek /
Created Jul 7, 2021
npm v7 - public git dependencies

Playwright Tips

Base Scripts

import {chromium, firefox, webkit} from 'playwright';

for (const browserType of [chromium, firefox, webkit]) {
  const browser = await browserType.launch();
  const page = await browser.newPage();

CSS Snippets


View bash-snippets
## Dir Size
du -sh node_modules/* | sort -rh | head -n 10

PWA Kit 2019

The PWA Kit 2019 is list of resources for building modern PWA apps based on new browser W3C standard Web Components.

Why Web Components

In the last several years, the component-based model for web application development was popularized, and the JavaScript community blossomed with a wide variety of libraries and approaches. Work on standardizing the web’s native component model began at Google in 2012, and after several years of open development, was successfully implemented across all major browsers in 2019.

Web components provide a standards-based solution to problems like reusability, interopability, and encapsulation. Using the browser's native component model will increase the longevity of your application. The web has an extremely strong tradition of backwards-compatibility, as standards bodies have consistently gone out of their way to maintain legacy APIs.

JosefJezek / weqqd
Created Feb 4, 2019
Network Testing
View weqqd