Chrome headless
07 Jan 2019Mac OS 1
alias chrome="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"
chrome headless
--virtual-time-budget
is to delay loading 2
chrome --headless --disable-gpu --print-to-pdf --virtual-time-budget=99999999 --run-all-compositor-stages-before-draw https://shop.coles.com.au/a/a-vic-metro-burwood-east/product/nan-optipro--ha-gold-formula-stage-1
chrome --headless --disable-gpu --dump-dom --virtual-time-budget=99999999 --run-all-compositor-stages-before-draw https://shop.coles.com.au/a/a-vic-metro-burwood-east/product/nan-optipro--ha-gold-formula-stage-1
chrome --headless http://localhost:8080/banana/key --run-all-compositor-stages-before-draw --print-to-pdf=C:\tmp\tmp.pdf --virtual-time-budget=10000
linux
chromium-browser --headless --dump-dom --disable-gpu --virtual-time-budget=9000000 --run-all-compositor-stages-before-draw https://shop.coles.com.au/a/a-vic-metro-burwood-east/product/nan-optipro--ha-gold-formula-stage-1