import puppeteer from 'puppeteer'; const b = await puppeteer.launch({ args:['--no-sandbox','--disable-setuid-sandbox','--use-gl=angle','--enable-unsafe-swiftshader'] }); const p = await b.newPage(); await p.setViewport({width:1280,height:1000}); await p.goto('http://10.200.201.3:4175/_lab/neu-card.html',{waitUntil:'load',timeout:60000}); const probe = async (sel) => p.evaluate((s)=>{ const e = document.querySelector(s); const cs = getComputedStyle(e); const bs = cs.boxShadow.split('),').map(x=>x.trim()); return { bg: cs.backgroundColor, boxShadow: bs, }; }, sel); const neu = await probe('#sec-final .neu-card'); const cc = await probe('#sec-contact .contact-card'); console.log('=== NEU-CARD (Финал) ==='); console.log(JSON.stringify(neu,null,1)); console.log('=== CONTACT-CARD ==='); console.log(JSON.stringify(cc,null,1)); await b.close();