Allow capturing transparent screenshots (#354)

This patch adds `omitBackground` option to the `page.screenshot` method.

Fixes #344
This commit is contained in:
Pavel Feldman
2017-08-17 21:11:39 -07:00
committed by Andrey Lushnikov
parent 1ca7849017
commit 127f3966d7
4 changed files with 11 additions and 0 deletions

BIN
test/golden/transparent.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B