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
@@ -16,9 +16,8 @@ const height = 600;
describe('CharWidth Integration Tests', function(): void {
before(async function(): Promise<any> {
const browserType = getBrowserType();
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 });