Skip to content

Commit

Permalink
wait 1.5s
Browse files Browse the repository at this point in the history
  • Loading branch information
robertotcestari committed Sep 19, 2024
1 parent 2d84161 commit da7ef38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/screenshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import sharp from 'sharp';
export async function getBufferFromPageScreenshot(
url: string,
timeout = 30000,
animationWaitTime = 1000 // Added animation wait time parameter
animationWaitTime = 1500 // Added animation wait time parameter
) {
try {
const browser = await chromium.launch();
Expand Down

0 comments on commit da7ef38

Please sign in to comment.