puppeteer/test
Christopher Dieringer b0b22199f9 fix(ElementHandle.screenshot): account for scroll (#1323)
Currently, `elementHandle.screenshot` passes bounding box into the `page.captureScreenshot` 
method.
This is wrong since `captureScreenshot` accepts viewport, not bounding box.

This patch uses layout metrics to convert bounding box into viewport.

Fixes #1315.
2017-11-10 16:02:52 -08:00
..
assets Test: add tests to cover clicking checkbox (#1125) 2017-11-07 20:38:22 -08:00
golden fix(ElementHandle.screenshot): account for scroll (#1323) 2017-11-10 16:02:52 -08:00
server [api] Implement page.authenticate method (#729) 2017-09-11 16:32:13 -07:00
diffstyle.css Implement FrameManager 2017-06-21 14:11:52 -07:00
frame-utils.js Remove promise jsdoc (#641) 2017-08-31 17:58:07 -07:00
golden-utils.js chore(doclint): move doclint tests expectations into test folders (#932) 2017-10-02 11:37:16 -07:00
test.js fix(ElementHandle.screenshot): account for scroll (#1323) 2017-11-10 16:02:52 -08:00