Files
navegator/scripts/ejemplos_perfiles.sh
Developer 3253828fef
Tests / Lint (push) Has been cancelled
Tests / Unit Tests (push) Has been cancelled
Tests / E2E Tests (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Initial commit: navegator - Chrome CDP automation for LLMs
Add complete navegator system for stealthy browser automation:
- CDP client with WebSocket communication
- Browser API with navigation, storage, network, runtime
- Stealth flags and anti-detection scripts
- Persistent profile support
- Examples and comprehensive documentation

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-24 23:33:07 +01:00

55 lines
1.8 KiB
Bash
Executable File

#!/bin/bash
# Script de demostración: Simulación de múltiples usuarios navegando
echo "=========================================="
echo "🎭 Simulación de Navegación Orgánica"
echo "=========================================="
echo ""
echo "Este script simula 3 usuarios diferentes navegando"
echo "Cada uno usa su propio perfil con cookies separadas"
echo ""
# Usuario 1: Desarrollador buscando info técnica
echo "👨‍💻 Usuario 1: Desarrollador"
echo " - Perfil: dev-user-1"
echo " - Busca: golang tutorials"
echo ""
./bin/buscar -q "golang tutorials" -n 5 -profile dev-user-1 -headless=true -output dev1_results.json
echo ""
# Usuario 2: Estudiante haciendo research
echo "👩‍🎓 Usuario 2: Estudiante"
echo " - Perfil: student-user-2"
echo " - Busca: machine learning basics"
echo ""
./bin/buscar -q "machine learning basics" -n 5 -profile student-user-2 -headless=true -output student2_results.json
echo ""
# Usuario 3: Diseñador buscando inspiración
echo "🎨 Usuario 3: Diseñador"
echo " - Perfil: designer-user-3"
echo " - Captura: dribbble.com"
echo ""
./bin/screenshot -url https://dribbble.com -profile designer-user-3 -o designer3_capture.png -headless=true
echo ""
echo "=========================================="
echo "✅ Simulación completada"
echo ""
echo "📂 Perfiles creados:"
ls -1 perfiles/ | grep -E "dev-user|student-user|designer-user"
echo ""
echo "📊 Archivos generados:"
ls -lh *_results.json *_capture.png 2>/dev/null | awk '{print " "$9" ("$5")"}'
echo ""
echo "💡 Cada perfil mantiene:"
echo " - Cookies separadas"
echo " - Historial independiente"
echo " - Cache propio"
echo " - Sesiones aisladas"
echo ""
echo "🔄 Para reutilizar un perfil:"
echo " ./navegar -url https://example.com -profile dev-user-1"
echo ""