| 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
T1="0f072e778339a3923a5591a0" # halle,aussen + search-all
T2="25ee07a725ffa57ed4df49f4" # view-only, all parking
valetPlate="ap p 695"
with sync_playwright() as p:
b=p.chromium.launch(); pg=b.new_page(viewport={"width":440,"height":820},device_scale_factor=2)
# 1) header + chips
pg.goto("https://seaside.pacim.de/day-list.php?t="+T1, wait_until="networkidle"); pg.wait_for_timeout(400)
pg.screenshot(path="/tmp/dl_tok_top.png")
# 2) search a valet plate (outside the halle/aussen filter) -> should appear with "außerhalb"
pg.fill("#dl-search", valetPlate); pg.wait_for_timeout(400)
vis = pg.eval_on_selector_all("#dl-body tr", "rs=>rs.filter(r=>r.style.display!=='none').map(r=>({p:r.getAttribute('data-plate'),out:r.getAttribute('data-out'),flag:!!r.querySelector('.outflag')}))")
print("search valet result:", vis)
pg.screenshot(path="/tmp/dl_tok_search.png")
# 3) view-only checkin
pg.goto("https://seaside.pacim.de/checkin.php?t="+T2+"&b=115156", wait_until="networkidle"); pg.wait_for_timeout(400)
print("view-only: action-btn present:", pg.eval_on_selector_all("#ci-action-btn","e=>e.length"), "| pay-modal present:", pg.eval_on_selector_all("#ci-pay-modal","e=>e.length"))
print("badge:", pg.inner_text("#ci-status-badge"))
pg.screenshot(path="/tmp/ci_viewonly.png", full_page=True)
b.close()