| 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/3951577/root/tmp/ |
Upload File : |
from playwright.sync_api import sync_playwright
cookies=[]
for line in open('cj.txt'):
if line.startswith('#') or not line.strip(): continue
p=line.rstrip('\n').split('\t')
if len(p)>=7: cookies.append((p[5],p[6]))
with sync_playwright() as pw:
b=pw.chromium.launch(args=['--ignore-certificate-errors'])
ctx=b.new_context(viewport={'width':1320,'height':900},ignore_https_errors=True,device_scale_factor=2)
ctx.add_cookies([{'name':n,'value':v,'domain':'seaside.pacim.de','path':'/'} for n,v in cookies])
pg=ctx.new_page()
# --- Booking view (active booking) ---
pg.goto('https://seaside.pacim.de/index.php?getTemplate=booking/view&invoice_id=122019&show=invoice',wait_until='networkidle'); pg.wait_for_timeout(800)
pg.click('.bk-summary .dropdown button[data-bs-toggle="dropdown"]'); pg.wait_for_timeout(400)
pg.screenshot(path='s1_menu.png', clip={'x':260,'y':70,'width':1060,'height':260})
pg.click('#bsStornoBtn'); pg.wait_for_timeout(500)
pg.screenshot(path='s2_confirm.png')
# confirm WITH storno mail -> executes (status 3) + opens mail preview
pg.check('#bsMailYes'); pg.click('#bsConfirmBtn'); pg.wait_for_timeout(1800)
pg.screenshot(path='s3_mail.png')
b.close()