Saturday, November 21, 2020

2020-11-21 Saturday - Interesting Finds Today

 

Photo by iMattSmart on Unsplash

Today I've spent some time browsing through Stack Overflow questions - looking for interesting questions that I might take a stab at answering. 

An outcome of that effort has been the serendipity of learning about the following...

Puppeteer

"Puppeteer is a Node library which provides a high-level API to control Chrome or Chromium over the DevTools Protocol. Puppeteer runs headless by default, but can be configured to run full (non-headless) Chrome or Chromium."

What can it do?

  • Generate screenshots and PDFs of pages.
  • Crawl a SPA (Single-Page Application) and generate pre-rendered content (i.e. "SSR" (Server-Side Rendering)).
  • Automate form submission, UI testing, keyboard input, etc.
  • Create an up-to-date, automated testing environment. Run your tests directly in the latest version of Chrome using the latest JavaScript and browser features.
  • Capture a timeline trace of your site to help diagnose performance issues.
  • Test Chrome Extensions.

Here are some interesting links:

Additionally, these tutorial resources might be of interest
Nitay Neeman has some interesting Puppeteer content:

Playwright

🎭

  •  https://playwright.dev/
    • Playwright is a Node.js library to automate Chromium, Firefox and WebKit with a single API.
    • Playwright is built to enable cross-browser web automation that is ever-green, capable, reliable and fast.

Chrome 87, 88

Toledo JavaScript Chess Game

JS1K - The JavaScript Code Golfing Competition

I perused the code of some of the past competition winners - and was inspired by the level of conciseness and creativity. Note: It appears the competition's last year was 2019.

TCP/IP Port Database Resources

The SpeedGuide.net resource is a wealth of aggregated information - and includes links to additional resources (such as information on the SANS Internet Storm Center)

No comments:

Copyright

© 2001-2021 International Technology Ventures, Inc., All Rights Reserved.