Using headless browser (here Chromium) to take screenshots:

brew install --cask chromium
/Applications/Chromium.app/Contents/MacOS/Chromium \
--headless --disable-gpu --screenshot https://www.btbytes.com

Next up, figuring out how to change the default geometry.

Note: