Files
web_scraping/demo_e2e/results/prueba_4_login_session.json
T
egutierrez 618e3b0295 chore: auto-commit (13 archivos)
- CAPABILITIES_TODO.md
- demo_e2e/RESUMEN.md
- demo_e2e/results/prueba_1_quotes.json
- demo_e2e/results/prueba_2_perceive.json
- demo_e2e/results/prueba_3_search.json
- demo_e2e/results/prueba_4_login_session.json
- demo_e2e/results/prueba_5_books.json
- demo_e2e/results/prueba_6_session_storage.json
- demo_e2e/results/prueba_7_find_honesto.json
- demo_e2e/results/prueba_8_verificacion.json
- ...

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-06 13:20:36 +02:00

233 lines
5.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"name": "4 - Login + sesión persistente (storage_state)",
"verdict": "PASS",
"logged_in": true,
"kicked_after_clear": true,
"restored_after_load": true,
"flash_login": " You logged into a secure area!\n×",
"flash_after_clear": " You must login to view the secure area!\n×",
"flash_restored": "{\"path\":\"/secure\",\"secure\":true}",
"steps": [
{
"tool": "cookie_clear",
"args": {
"port": 9333
},
"ms": 1,
"is_error": false,
"response": "cookies cleared"
},
{
"tool": "tab_navigate",
"args": {
"port": 9333,
"url": "https://the-internet.herokuapp.com/login"
},
"ms": 86,
"is_error": false,
"response": "navigated to https://the-internet.herokuapp.com/login"
},
{
"tool": "page_wait_load",
"args": {
"port": 9333,
"timeout_ms": 12000
},
"ms": 222,
"is_error": false,
"response": "page loaded"
},
{
"tool": "dom_click",
"args": {
"port": 9333,
"selector": "#username"
},
"ms": 13,
"is_error": false,
"response": "clicked #username"
},
{
"tool": "dom_type",
"args": {
"port": 9333,
"text": "tomsmith"
},
"ms": 112,
"is_error": false,
"response": "typed text"
},
{
"tool": "dom_click",
"args": {
"port": 9333,
"selector": "#password"
},
"ms": 5,
"is_error": false,
"response": "clicked #password"
},
{
"tool": "dom_type",
"args": {
"port": 9333,
"text": "SuperSecretPassword!"
},
"ms": 271,
"is_error": false,
"response": "typed text"
},
{
"tool": "dom_click",
"args": {
"port": 9333,
"selector": "button[type=submit]"
},
"ms": 9,
"is_error": false,
"response": "clicked button[type=submit]"
},
{
"tool": "page_wait_load",
"args": {
"port": 9333,
"timeout_ms": 12000
},
"ms": 2,
"is_error": false,
"response": "page loaded"
},
{
"tool": "dom_wait_element",
"args": {
"port": 9333,
"selector": "#flash",
"timeout_ms": 8000
},
"ms": 431,
"is_error": false,
"response": "element appeared: #flash"
},
{
"tool": "page_get_text",
"args": {
"port": 9333,
"selector": "#flash",
"max_bytes": 300
},
"ms": 1,
"is_error": false,
"response": " You logged into a secure area!\n×"
},
{
"tool": "storage_save",
"args": {
"port": 9333,
"path": "/tmp/demo_session.json"
},
"ms": 4,
"is_error": false,
"response": "storage state saved to /tmp/demo_session.json"
},
{
"tool": "cookie_clear",
"args": {
"port": 9333
},
"ms": 1,
"is_error": false,
"response": "cookies cleared"
},
{
"tool": "tab_navigate",
"args": {
"port": 9333,
"url": "https://the-internet.herokuapp.com/secure"
},
"ms": 183,
"is_error": false,
"response": "navigated to https://the-internet.herokuapp.com/secure"
},
{
"tool": "page_wait_load",
"args": {
"port": 9333,
"timeout_ms": 12000
},
"ms": 231,
"is_error": false,
"response": "page loaded"
},
{
"tool": "page_get_text",
"args": {
"port": 9333,
"selector": "#flash",
"max_bytes": 300
},
"ms": 1,
"is_error": false,
"response": " You must login to view the secure area!\n×"
},
{
"tool": "tab_navigate",
"args": {
"port": 9333,
"url": "https://the-internet.herokuapp.com"
},
"ms": 102,
"is_error": false,
"response": "navigated to https://the-internet.herokuapp.com"
},
{
"tool": "page_wait_load",
"args": {
"port": 9333,
"timeout_ms": 12000
},
"ms": 238,
"is_error": false,
"response": "page loaded"
},
{
"tool": "storage_load",
"args": {
"port": 9333,
"path": "/tmp/demo_session.json"
},
"ms": 7,
"is_error": false,
"response": "storage state loaded from /tmp/demo_session.json"
},
{
"tool": "tab_navigate",
"args": {
"port": 9333,
"url": "https://the-internet.herokuapp.com/secure"
},
"ms": 98,
"is_error": false,
"response": "navigated to https://the-internet.herokuapp.com/secure"
},
{
"tool": "page_wait_load",
"args": {
"port": 9333,
"timeout_ms": 12000
},
"ms": 231,
"is_error": false,
"response": "page loaded"
},
{
"tool": "page_eval_js",
"args": {
"port": 9333,
"expression": "JSON.stringify({path:location.pathname,secure:document.body.innerText.includes('Secure Area')})"
},
"ms": 3,
"is_error": false,
"response": "{\"path\":\"/secure\",\"secure\":true}"
}
]
}