fune/browser/components/shell/test/headless.html
Benjamin Dahse 43dd2ccf35 Bug 1378010 - screenshot from command line with headless; r=mossop
Add a `--screenshot` argument that implies `--headless` and is used to take a screenshot of a page from the command line.
Default is a full page screenshot, but `--window-size=width[,height]` can change this.
A path for the screenshot can be supplied with `--screenshot=/path/to/file`.

MozReview-Commit-ID: 13tUjk2Yrsl

--HG--
extra : rebase_source : d26ed0856af882ad52a606941685b2c91577d3bf
2017-09-12 16:55:27 -07:00

6 lines
178 B
HTML

<html>
<head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"></head>
<body style="background-color: rgb(0, 255, 0); color: rgb(0, 0, 255)">
Hi
</body>
</html>