diff --git a/test/test.js b/test/test.js index 607c82d5..caab5916 100644 --- a/test/test.js +++ b/test/test.js @@ -835,6 +835,14 @@ describe('Puppeteer', function() { expect(keyboard.modifiers().Alt).toBe(false); })); }); + + // FIXME: remove this when crbug.com/741689 is fixed. + it('RESTART BROWSER crbug.com/741689', SX(async function() { + page.close(); + browser = new Browser({headless, args: ['--no-sandbox']}); + page = await browser.newPage(); + })); + describe('Page.setUserAgent', function() { it('should work', SX(async function() { expect(page.userAgent()).toContain('Mozilla');