| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /tmp/smi-shot/ |
Upload File : |
const puppeteer=require('puppeteer');
(async()=>{
const b=await puppeteer.launch({headless:'new',args:['--no-sandbox','--disable-setuid-sandbox','--disable-dev-shm-usage']});
const p=await b.newPage(); await p.setViewport({width:1300,height:1000,deviceScaleFactor:1});
await p.goto('http://127.0.0.1:8899/',{waitUntil:'networkidle0',timeout:60000});
console.log('Produkt-Reihenfolge:', (await p.$$eval('.product-card__logo img', e=>e.map(x=>x.alt))).join(', '));
console.log('TOP-Karte:', await p.$('.product-card--top')?'PureVPN hervorgehoben ✅':'nein');
console.log('Tools-Block-Links:', (await p.$$eval('.tools-card__list a', e=>e.map(x=>x.getAttribute('href').replace('http://127.0.0.1:8899','')))).join(', '));
await (await p.$('.section--products')).screenshot({path:'/tmp/smi-shot/prod-top.png'});
await (await p.$('.section--tools')).screenshot({path:'/tmp/smi-shot/tools-block.png'});
await b.close();
})().catch(e=>{console.error('ERR',e.message);process.exit(1)});