fix footer section padding
This commit is contained in:
@@ -24,8 +24,8 @@ const path = require('path');
|
||||
await page.screenshot({ path: desktopPath, fullPage: true });
|
||||
console.log('Saved desktop screenshot to:', desktopPath);
|
||||
|
||||
// Mobile Screenshot (390px)
|
||||
await page.setViewport({ width: 390, height: 844, isMobile: true, hasTouch: true });
|
||||
// Mobile Screenshot (375px)
|
||||
await page.setViewport({ width: 375, height: 844, isMobile: true, hasTouch: true });
|
||||
await page.goto('http://localhost:3000', { waitUntil: 'networkidle2', timeout: 15000 });
|
||||
const mobilePath = path.join(__dirname, 'mobile_screenshot.png');
|
||||
await page.screenshot({ path: mobilePath, fullPage: true });
|
||||
|
||||
Reference in New Issue
Block a user