diff --git a/package.json b/package.json index 95d38a8e..4a9c4d9f 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "ws": "^3.0.0" }, "puppeteer": { - "chromium_revision": "538022" + "chromium_revision": "543305" }, "devDependencies": { "@types/debug": "0.0.30", diff --git a/test/test.js b/test/test.js index edc6ce1e..32fcab45 100644 --- a/test/test.js +++ b/test/test.js @@ -2068,6 +2068,14 @@ describe('Page', function() { const element = await page.$('div'); expect(await element.boundingBox()).toBe(null); }); + it('should force a layout', async({page, server}) => { + await page.setViewport({ width: 500, height: 500 }); + await page.setContent('