const { chromium } = require('playwright');
(async () => {
  const b = await chromium.launch({ args: ['--ignore-certificate-errors'] });
  const p = await b.newPage({ viewport: { width: 1440, height: 1500 }, ignoreHTTPSErrors: true, deviceScaleFactor: 2 });
  await p.goto('https://farmer.taild3aaf6.ts.net/fea/en/numeros-en/', { waitUntil: 'networkidle' });
  await p.evaluate(() => document.querySelectorAll('details.fea-don').forEach(d => d.open = true));
  await p.waitForTimeout(200);
  await p.screenshot({ path: '/tmp/numeros_en.png', fullPage: false });
  await b.close();
})();
