queued 2026-09-25 00:24:06 · started 00:24:06 · finished 00:24:08 · duration 2s · target v3.0.0 · chromium · trigger: cli-adopted · batch: 8 tests (terminal)
Activity replay 1 frames, captured only while the page was actually changing — idle waits are skipped automatically
+0.00s
Step timings follows the replay — click a step to see it there
| at | step | took |
|---|---|---|
| +0.93s | goto http://127.0.0.1:8000/demo/login/ | 108 ms |
| +1.05s | fill #username | 146 ms |
| +1.20s | fill #password | 19 ms |
| +1.23s | click #login-btn | 94 ms |
| +1.31s | wait_for_selector #private-heading | 46 ms |
| +1.43s | inner_text #who | 7 ms |
| +1.49s | click #logout-btn | 44 ms |
| +1.53s | wait_for_selector #login-btn | 43 ms |
Times are when each step began, on the replay's clock. Add your own phases with
with ctx.timed("label"):.
Artifacts
| Run log | run.log |
| Playwright trace | trace.zip
open with: playwright show-trace trace.zip |
| Result JSON | result.json |
| Folder | results/DEMO-008/20260925-002406-r441/ |
Full log
Read from the S3 bucket (the last 20 KB; the whole file is the Run log link above).
[harness] test=DEMO-008 browser=chromium headed=False timeout=120s [harness] target: http://127.0.0.1:8000/demo/ [test] [ 0.93s] starting DEMO-008 [timing] goto http://127.0.0.1:8000/demo/login/: 108ms [test] [ 1.06s] logging in [timing] fill #username: 146ms [timing] fill #password: 19ms [timing] click #login-btn: 94ms [timing] wait_for_selector #private-heading: 46ms [test] [ 1.43s] screenshot: 01-signed-in.png [timing] inner_text #who: 7ms [test] [ 1.48s] checked that http://127.0.0.1:8000/demo/private/ requires a session [timing] click #logout-btn: 44ms [timing] wait_for_selector #login-btn: 43ms [test] [ 1.59s] signed out [test] [ 1.59s] PASSED [harness] security: 0 high, 2 medium, 1 low [harness] saved trace.zip [harness] result: passed
Security observations what the browser noticed while this ran — not a penetration test
| Severity | Finding | What to do |
|---|---|---|
| medium | The application is served over plain HTTP http://127.0.0.1:8000/demo/ is not HTTPS, so anything typed into it travels the network in the clear and can be modified in transit. |
On an isolated lab network this may be a deliberate choice -- if so, note it and move on. Anywhere else, terminate TLS in front of the application. |
| medium | Missing Content-Security-Policy Without it, an injected script can run with the page's full privileges. This is the single most effective header against XSS. |
Set the Content-Security-Policy response header on the application or its reverse proxy. |
| low | Response advertises software version (server) server: pw-testhub -- this tells an attacker exactly what to look up known vulnerabilities for. |
Suppress or blank the server header at the proxy. |
| info | Cookie 'csrftoken' is readable by JavaScript (expected) This looks like a CSRF token, which the page's own JavaScript has to read in order to send it back. HttpOnly would break that. Nothing to do -- listed so you know it was checked and not missed. |
No action. Do check that SESSION cookies are HttpOnly. |
All of these appear together on the Security page.
