| 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/3951573/root/tmp/ |
Upload File : |
from playwright.sync_api import sync_playwright
cookies=[]
for line in open('/tmp/cj.txt'):
if line.startswith('#') or not line.strip(): continue
p=line.strip().split('\t')
if len(p)>=7: cookies.append({'name':p[5],'value':p[6],'domain':p[0].lstrip('.'),'path':p[2]})
with sync_playwright() as p:
b=p.chromium.launch(); ctx=b.new_context(viewport={"width":1200,"height":1200}); ctx.add_cookies(cookies)
pg=ctx.new_page()
pg.goto("https://seaside.pacim.de/tasks/day/?date=2026-06-27&show=mobile", wait_until="networkidle"); pg.wait_for_timeout(1000)
pg.click('[data-bs-target="#tab-mobile"]'); pg.wait_for_timeout(800)
# click first edit button in list
pg.click('.ma-edit'); pg.wait_for_timeout(800)
print("edit note visible:", pg.is_visible('#maEditNote'))
print("label:", repr(pg.input_value('#maLabel')))
print("perm_action checked:", pg.is_checked('#maPermAction'), "| perm_search:", pg.is_checked('#maPermSearch'))
print("park halle:", pg.is_checked('.ma-park[value=halle]'), "aussen:", pg.is_checked('.ma-park[value=aussen]'))
print("status open:", pg.is_checked('.ma-status[value=open]'), "arrived:", pg.is_checked('.ma-status[value=arrived]'))
print("col time:", pg.is_checked('.ma-col[value=time]'), "type:", pg.is_checked('.ma-col[value=type]'))
print("create btn text:", pg.inner_text('#maCreate').strip())
print("cancel visible:", pg.is_visible('#maCancelEdit'))
b.close()