(options)
| 133 | } |
| 134 | |
| 135 | async function launch(options) { |
| 136 | return chromium.launch({ |
| 137 | channel: 'chromium', |
| 138 | headless: !options.headed, |
| 139 | // The runner saves partial results and closes the browser on interruption. |
| 140 | handleSIGINT: false, |
| 141 | handleSIGTERM: false |
| 142 | }); |
| 143 | } |
| 144 | |
| 145 | async function openPage(browser, server, scenario, arm, options, expected, trace = false) { |
| 146 | let context = await browser.newContext({ |