← back to Sublease Agentabrams
tmp-shot-fold.js
11 lines
const { chromium } = require('playwright-core');
(async () => {
const b = await chromium.launch();
const ctx = await b.newContext({ httpCredentials:{username:'Boomer',password:'Sublease2024!'}, viewport:{width:1440,height:1650} });
const p = await ctx.newPage();
await p.goto('https://sublease.agentabrams.com/', { waitUntil:'networkidle', timeout:40000 });
await p.waitForTimeout(2500);
await p.screenshot({ path:'tmp-fold.png' }); // viewport only
await b.close();
})();