Remove browser args

This commit is contained in:
Daniel Imms
2020-02-18 07:47:01 -08:00
parent 9a1c7953e7
commit a18bac7380
12 changed files with 12 additions and 24 deletions
+1 -2
View File
@@ -18,8 +18,7 @@ describe('Parser Integration Tests', function(): void {
before(async function(): Promise<any> {
const browserType = getBrowserType();
browser = await browserType.launch({ dumpio: true,
headless: process.argv.indexOf('--headless') !== -1,
args: [`--window-size=${width},${height}`, `--no-sandbox`]
headless: process.argv.indexOf('--headless') !== -1
});
page = await (await browser.newContext()).newPage();
await page.setViewportSize({ width, height });