|
|
@ -16,12 +16,13 @@ let driver |
|
|
|
|
|
|
|
|
|
|
|
captureAllScreens().catch((err) => { |
|
|
|
captureAllScreens().catch((err) => { |
|
|
|
try { |
|
|
|
try { |
|
|
|
verboseReportOnFailure() |
|
|
|
|
|
|
|
console.error(err) |
|
|
|
console.error(err) |
|
|
|
|
|
|
|
verboseReportOnFailure() |
|
|
|
driver.quit() |
|
|
|
driver.quit() |
|
|
|
} finally { |
|
|
|
} catch (err) { |
|
|
|
process.exit(1) |
|
|
|
console.error(err) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
process.exit(1) |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
async function captureAllScreens() { |
|
|
|
async function captureAllScreens() { |
|
|
|