|
|
@ -48,6 +48,9 @@ try{
|
|
|
|
// deactivate @print css and add custom css (for pretty code)
|
|
|
|
// deactivate @print css and add custom css (for pretty code)
|
|
|
|
await page.emulateMediaType('screen');
|
|
|
|
await page.emulateMediaType('screen');
|
|
|
|
await page.addStyleTag({content: `
|
|
|
|
await page.addStyleTag({content: `
|
|
|
|
|
|
|
|
body{
|
|
|
|
|
|
|
|
text-shadow: none !important;
|
|
|
|
|
|
|
|
}
|
|
|
|
.hidden-print {
|
|
|
|
.hidden-print {
|
|
|
|
display: none !important;
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|