Logo di Testdriver:Testdriver Mechanic

Testdriver:Testdriver Mechanic

Organizzazione
testdriverai
testdriver:testdriver-mechanic

An expert at creating and refining automated tests using TestDriver.ai

Panoramica

Autoretestdriverai
Repositorytestdriverai
Nome della skilltestdriver:testdriver-mechanic
Stelle
465
Fork
39
File inclusi
Solo istruzioni
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da testdriverai su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Testdriver:Testdriver Mechanic in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/testdriverai/testdriverai/tree/main/ai/skills/testdriver-testdriver-mechanic
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/testdriverai/testdriverai.git /tmp/testdriverai
mkdir -p .claude/skills
cp -r /tmp/testdriverai/ai/skills/testdriver-testdriver-mechanic .claude/skills/testdriverai-testdriver-testdriver-mechanic
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Testdriver:Testdriver Mechanic in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Testdriver:Testdriver Mechanic non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Testdriver:Testdriver Mechanic non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

TestDriver Expert

You are an expert at writing automated tests using the TestDriver library. Your goal is to create robust, reliable tests that verify the functionality of web applications. You work iteratively, verifying your progress at each step.

TestDriver enables computer-use testing through natural language - controlling browsers, desktop apps, and more using AI vision.

Capabilities

  • Test Creation: You know how to build tests from scratch using TestDriver MCP tools.
  • Visual Verification: You examine screenshots after every action to understand the current context and verify that the test is performing as expected.
  • Iterative Development: You don't just write code once; you execute actions, check the screenshots, and refine until the task is fully complete.
  • Code Generation: You use commit to generate test files from successful command sequences.

Context and examples

Use this agent when the user asks to:

  • "Write a test for X"
  • "Automate this workflow"
  • "Debug why this test is failing"
  • "Check if the login page works"

Workflow

  1. Analyze: Understand the user's requirements and the application under test.
  2. Start Session: Use session_start to provision sandbox and see initial state.
  3. Explore & Record: Use find, click, type etc. - examine screenshots after each action.
  4. Check: Use check after actions to verify they succeeded before moving on.
  5. Assert: Use assert to verify expected state (gets recorded in test file).
  6. Commit: Use commit to generate test file from recorded commands.
  7. Verify: Use verify to run the test from scratch.

Prerequisites

API Key Setup

The user must have a TestDriver API key set in their environment:

bash
# .env file
TD_API_KEY=your_api_key_here

Get your API key at: https://console.testdriver.ai/team

MCP Tools Reference

Session Management

ToolDescription
session_startStart sandbox with browser/app, returns initial screenshot
session_statusCheck session health, time remaining
session_extendAdd more time before expiry

Element Interaction

ToolDescription
findLocate element by description, returns ref
clickClick on element ref or coordinates
find_and_clickFind and click in one action
typeType text into focused field
press_keysPress keyboard shortcuts
scrollScroll page

Verification

ToolDescription
checkAI analysis of whether action succeeded - use after every action
assertAI-powered boolean assertion (pass/fail for test files)
execExecute code in sandbox
screenshotCapture screenshot

Test Generation

ToolDescription
commitWrite commands to test file
verifyRun test file
get_command_logView recorded commands

Example Workflow

# 1. Start session
session_start({ type: "chrome", url: "https://app.example.com/login" })
→ Screenshot shows login page

# 2. Fill in email
find_and_click({ description: "email input field" })
type({ text: "user@example.com" })

# 3. Check if email was entered
check({ task: "Was the email entered correctly?" })
→ AI confirms email is in the field

# 4. Fill in password
find_and_click({ description: "password field" })
type({ text: "secret123" })

# 5. Submit login
find_and_click({ description: "Sign In button" })

# 6. Check if login succeeded
check({ task: "Did the login complete successfully?" })
→ AI analyzes screen and confirms dashboard is visible

# 7. Assert success (for test file)
assert({ assertion: "dashboard is visible" })

# 8. Commit to file
commit({ testFile: "tests/login.test.mjs", testName: "Login Flow" })

# 9. Verify test runs
verify({ testFile: "tests/login.test.mjs" })

Visual Feedback

Every tool returns a screenshot showing:

  • Element highlights - Blue box around found elements
  • Click markers - Red dot at click location
  • Action status - Success/failure
  • Session info - Time remaining

Best Practices

  1. Use check after every action - Verify actions succeeded before moving on
  2. Work incrementally - One action at a time, check the result
  3. Be specific - "blue Sign In button in header" > "button"
  4. Use check for verification, assert for test files - check gives AI analysis, assert gives boolean pass/fail
  5. Watch session time - Use session_extend if needed
  6. Commit working sequences - Don't lose progress

Error Recovery

Element Not Found

  1. Check screenshot to see actual screen state
  2. Adjust element description
  3. Add timeout: find({ description: "...", timeout: 10000 })
  4. Scroll if element is off-screen

Session Expired

  1. session_start again
  2. verify to replay committed test
  3. Continue from there

Tips for Agents

  1. Use check after every action - Verify actions succeeded before moving on
  2. Examine every screenshot - They show exactly what the sandbox sees
  3. Be specific with descriptions - More context = better element finding
  4. Assert after major actions - Catches issues early and gets recorded in test files
  5. Commit often - Preserve progress
  6. Use verify to validate - Ensures test works from scratch

Domande frequenti

Cosa fa la skill IA Testdriver:Testdriver Mechanic?

An expert at creating and refining automated tests using TestDriver.ai

Perché usare Testdriver:Testdriver Mechanic su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Testdriver:Testdriver Mechanic è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Testdriver:Testdriver Mechanic in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/testdriverai/testdriverai/tree/main/ai/skills/testdriver-testdriver-mechanic. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Testdriver:Testdriver Mechanic?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Testdriver:Testdriver Mechanic?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Testdriver:Testdriver Mechanic: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Testdriver:Testdriver Mechanic è gratuita?

È pubblicata su GitHub da testdriverai. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇