[SPIKE] Investigate start using chrome-headless-shell

Why

Recently, the Chromium team changed the way Chromium is being packaged for developers. More details here: https://developer.chrome.com/blog/chrome-headless-shell

We will no longer be able to use --headless=old with newer Chrome versions, this is a possible solution we should investigate.

What

Start using chrome-headless-shell

  • This seems to be the Chromium team's recommendation.
  • It is sourced from the npx meaning we could potentially have access to new and old versions of Chromium at the same time, something package repos currently don't have.
  • Question to investigate: Is this a drop in replacement for the old headless Chromium?
Edited by Hannah Baker