Merge branch 'master' into master

This commit is contained in:
Daniel Imms
2020-04-10 09:37:51 -07:00
committed by GitHub
19 changed files with 103 additions and 45 deletions
+2 -3
View File
@@ -21,9 +21,8 @@ describe('InputHandler Integration Tests', function(): void {
before(async function(): Promise<any> {
const browserType = getBrowserType();
isChromium = browserType.name() === 'chromium';
browser = await browserType.launch({
headless: process.argv.indexOf('--headless') !== -1,
args: [`--window-size=${width},${height}`, `--no-sandbox`]
browser = await browserType.launch({ dumpio: true,
headless: process.argv.indexOf('--headless') !== -1
});
page = await (await browser.newContext()).newPage();
await page.setViewportSize({ width, height });