tools: Move screenshot captured message to Python.

This commit is contained in:
Puneeth Chaganti
2020-04-26 14:25:03 +05:30
committed by Tim Abbott
parent 88c297dffe
commit 80e432b466
2 changed files with 2 additions and 1 deletions

View File

@@ -60,7 +60,6 @@ async function run() {
const imageDir = path.dirname(imagePath);
mkdirp.sync(imageDir);
await page.screenshot({ path: imagePath, clip: clip });
console.log(`Screenshot captured to: \x1B[1;31m${imagePath}\n`);
} catch (e) {
console.log(e);
process.exit(1);