| 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 : /proc/3951572/root/tmp/ |
Upload File : |
from playwright.sync_api import sync_playwright
URL='https://seaside.pacim.de/day-list.php?date=2026-06-27&h=ae6c96c6793e9dae3d10aa1e4ed3be55&parking=halle,aussen,valet&columns=name,type,time,dur'
with sync_playwright() as pw:
b=pw.chromium.launch()
pg=b.new_page(viewport={'width':390,'height':500}, device_scale_factor=3)
cdp=pg.context.new_cdp_session(pg)
cdp.send('Emulation.setSafeAreaInsetsOverride', {'insets':{'top':59,'left':0,'right':0,'bottom':34}})
pg.goto(URL, wait_until='networkidle')
pg.wait_for_timeout(500)
# Simulierte Dynamic Island als Overlay einzeichnen (nur Demo)
pg.evaluate('''() => {
const d=document.createElement('div');
d.style.cssText='position:fixed;top:11px;left:50%;transform:translateX(-50%);width:120px;height:36px;background:#000;border-radius:20px;z-index:9999;';
document.body.appendChild(d);
}''')
pg.wait_for_timeout(150)
pg.screenshot(path='/tmp/island_demo.png', clip={'x':0,'y':0,'width':390,'height':230})
b.close()