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
@@ -22,8 +22,7 @@ describe('InputHandler Integration Tests', function(): void {
const browserType = getBrowserType();
isChromium = browserType.name() === 'chromium';
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 });