chore: auto-commit from dashboard
This commit is contained in:
@@ -53,6 +53,21 @@
|
||||
"video": "",
|
||||
"tldr": "| Yann Tiersen | Comptine d'un autre été (Extended 1h) | https://www.youtube.com/watch?v=nJQV1jCM0gk |"
|
||||
},
|
||||
{
|
||||
"file": "notes-data/youtube/2026-04-25_claude-code-playwright-automates-anything.md",
|
||||
"title": "Claude Code + Playwright Automates Literally Anything",
|
||||
"date": "2026-04-25",
|
||||
"tags": [],
|
||||
"domains": [
|
||||
"work"
|
||||
],
|
||||
"types": [],
|
||||
"category": "youtube",
|
||||
"project": null,
|
||||
"subdir": null,
|
||||
"video": "",
|
||||
"tldr": "Claude Code + Playwright CLI = automatizezi orice în browser, inclusiv în conturi unde ești logat. Se scrie un script Playwright, se testează, agentul învață din erori și îmbunătățește scriptul iterat..."
|
||||
},
|
||||
{
|
||||
"file": "notes-data/tools/claude-agent-projects.md",
|
||||
"title": "Proiecte pe LXC 171 — claude-agent",
|
||||
@@ -8505,8 +8520,8 @@
|
||||
"title": "Proiect: Vending Master - Integrare Website → ROA",
|
||||
"date": "2026-01-30",
|
||||
"tags": [
|
||||
"integrare",
|
||||
"vending-master"
|
||||
"vending-master",
|
||||
"integrare"
|
||||
],
|
||||
"domains": [
|
||||
"work"
|
||||
@@ -8986,9 +9001,9 @@
|
||||
}
|
||||
],
|
||||
"stats": {
|
||||
"total": 516,
|
||||
"total": 517,
|
||||
"by_domain": {
|
||||
"work": 162,
|
||||
"work": 163,
|
||||
"health": 97,
|
||||
"growth": 233,
|
||||
"sprijin": 39,
|
||||
@@ -9006,7 +9021,7 @@
|
||||
"reflectii": 3,
|
||||
"retete": 1,
|
||||
"tools": 7,
|
||||
"youtube": 104,
|
||||
"youtube": 105,
|
||||
"memory": 43
|
||||
}
|
||||
},
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
# Claude Code + Playwright Automates Literally Anything
|
||||
|
||||
**Sursa:** https://www.youtube.com/watch?v=J-6pnl5DQg8
|
||||
**Data:** 2026-04-25
|
||||
**Durata:** 18:50
|
||||
**Tags:** @work @automation @tools
|
||||
|
||||
---
|
||||
|
||||
## TL;DR
|
||||
|
||||
Claude Code + Playwright CLI = automatizezi orice în browser, inclusiv în conturi unde ești logat. Se scrie un script Playwright, se testează, agentul învață din erori și îmbunătățește scriptul iterativ. Use case-urile demo: QA automat pentru web app, scraping contacte (telefoane dentisti), și interacțiuni în platforme cu login (School). Se pot programa ca sarcini recurente headless.
|
||||
|
||||
---
|
||||
|
||||
## Puncte Cheie
|
||||
|
||||
1. **Playwright CLI vs MCP** — CLI consumă mult mai puțini tokeni decât MCP-ul Chrome DevTools (important pentru proiecte mari). Preferabil CLI.
|
||||
|
||||
2. **Flow de bază:**
|
||||
- Instalezi Playwright CLI în proiect
|
||||
- Claude Code scrie un script JS pentru automatizare
|
||||
- Rulezi script → găsești buguri → Claude îl îmbunătățește → repeat
|
||||
- Fiecare rulare face scriptul mai bun (agent învață din erori)
|
||||
|
||||
3. **QA automat:**
|
||||
- Poți cere lui Claude să construiască un app și apoi să-l testeze singur
|
||||
- Găsește buguri (ex: textarea cu Enter nu avansa), le fixează, rerulează
|
||||
- Se poate transforma într-un **skill** → QA consistent și repetabil
|
||||
|
||||
4. **Sesiuni autentificate:**
|
||||
- Opțiunea 1: Persistent browser profile (folosește datele Chrome existente)
|
||||
- Prima rulare: login manual → sesiunea se salvează → rulările ulterioare = logged in automat
|
||||
- Funcționează pe platforme "anti-automation" (ex: School/Skool)
|
||||
|
||||
5. **Skills recurente (autonome):**
|
||||
- Se pot programa ca scheduled tasks pe desktop app
|
||||
- Agentul AIS rulează automat: daily news roundup, likes pe wins, răspunsuri la notificări
|
||||
- Headless = rulează fără să se vadă tab-ul
|
||||
- Iterativ: când dă de un task nou (ex: vot pe poll) → creează un script nou → actualizează skill-ul
|
||||
|
||||
6. **Iterarea e normală:**
|
||||
- Nu te aștepți să funcționeze din prima
|
||||
- Course-correct cu instrucțiuni clare (ex: "thumbs up galben = deja likat, sari-l")
|
||||
- 4-5 iterații → rezultat stabil
|
||||
|
||||
---
|
||||
|
||||
## Citate Notabile
|
||||
|
||||
> "When you give a tool as powerful as Claude Code access to literally control a browser, you can actually automate anything."
|
||||
|
||||
> "Every time that you use the script, it's going to get better."
|
||||
|
||||
> "The fact that you could automate QA by having multiple different headed or headless browsers spin up and running and fixing is a complete game changer."
|
||||
|
||||
---
|
||||
|
||||
## Idei & Aplicabilitate (Echo/Marius)
|
||||
|
||||
- **roa2web QA:** Claude Code + Playwright ar putea testa automat interfața web ROA — detectează buguri înainte să ajungă la clienți
|
||||
- **ANAF Monitor:** Dacă pagina ANAF se schimbă UI și hash-ul nu mai e suficient, Playwright poate extrage conținut vizual
|
||||
- **Automatizare rapoarte:** Descărcare automată de rapoarte din portale fără API (ex: bancare, fiscale)
|
||||
- **Skill recurent:** Orice flux repetitiv în browser (login + download + procesare) se poate transforma în scheduled task
|
||||
|
||||
---
|
||||
|
||||
## Resurse Menționate
|
||||
|
||||
- Playwright CLI (alternativa la MCP Chrome DevTools)
|
||||
- Alte CLI-uri: Forcell Agent Browser, Open CLI
|
||||
- Video următor (din canal): Scheduled Tasks cu Claude Code
|
||||
Reference in New Issue
Block a user