import { webkit } from 'playwright'; const b = await webkit.launch(); const ctx = await b.newContext({ viewport:{width:1280,height:900}, reducedMotion:'reduce' }); const p = await ctx.newPage(); await p.goto('https://www.novalon.cn/about', { waitUntil:'networkidle', timeout:60000 }).catch(()=>{}); await p.waitForTimeout(2500); await p.screenshot({ path:'docs/acceptance/2026-10-20-prod-about/about-reduced-motion.png', fullPage:true }); const t = await p.evaluate(() => [...document.querySelectorAll('main *')].filter(e=>parseFloat(getComputedStyle(e).opacity)===0).map(e=>({tag:e.tagName, cls:(e.className||'').toString().slice(0,50), text:(e.innerText||'').slice(0,24)}))); console.log('隐藏元素:', JSON.stringify(t, null, 1)); await b.close();