@testdriverai/agent 7.11.91-test → 7.11.92-canary
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/GITHUB_COMMENTS.md +1 -1
- package/docs/TEST-GITHUB-COMMENTS.md +1 -1
- package/docs/claude-mcp-plugin.mdx +1 -1
- package/docs/v6/apps/tauri-apps.mdx +3 -3
- package/docs/v6/getting-started/cli.mdx +1 -1
- package/docs/v6/getting-started/playwright.mdx +3 -3
- package/docs/v6/getting-started/vscode.mdx +1 -1
- package/docs/v6/overview/quickstart.mdx +3 -3
- package/docs/v7/_drafts/playwright.mdx +3 -3
- package/docs/v7/_drafts/troubleshooting.mdx +2 -2
- package/docs/v7/ci-cd.mdx +1 -1
- package/docs/v7/client.mdx +1 -1
- package/docs/v7/copilot/running-tests.mdx +1 -1
- package/docs/v7/quickstart.mdx +3 -3
- package/package.json +1 -1
package/docs/GITHUB_COMMENTS.md
CHANGED
|
@@ -55,7 +55,7 @@ jobs:
|
|
|
55
55
|
|
|
56
56
|
| Variable | Description | Required | Example |
|
|
57
57
|
|----------|-------------|----------|---------|
|
|
58
|
-
| `TD_API_KEY` | TestDriver API key | ✅ Yes | Get from [console.testdriver.ai](https://console.testdriver.ai/
|
|
58
|
+
| `TD_API_KEY` | TestDriver API key | ✅ Yes | Get from [console.testdriver.ai](https://console.testdriver.ai/settings) |
|
|
59
59
|
| `GITHUB_TOKEN` | GitHub token with PR write permissions | ✅ Yes | Automatically available in GitHub Actions |
|
|
60
60
|
| `GITHUB_PR_NUMBER` | Pull request number | For PR comments | `123` |
|
|
61
61
|
| `GITHUB_SHA` | Commit SHA | For commit comments | Automatically set in GitHub Actions |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
1. **Ensure TD_API_KEY is set**
|
|
6
6
|
- Go to: https://github.com/testdriverai/testdriverai/settings/secrets/actions
|
|
7
|
-
- Add secret named `TD_API_KEY` with your API key from https://console.testdriver.ai/
|
|
7
|
+
- Add secret named `TD_API_KEY` with your API key from https://console.testdriver.ai/settings
|
|
8
8
|
- If already set, you're good to go!
|
|
9
9
|
|
|
10
10
|
2. **Create a test branch and PR**
|
|
@@ -8,7 +8,7 @@ TestDriver ships as a native [Claude Code plugin](https://docs.claude.com/en/doc
|
|
|
8
8
|
|
|
9
9
|
## 1. Get a TestDriver API key
|
|
10
10
|
|
|
11
|
-
- Visit your team page (e.g. `https://console.testdriver.ai/
|
|
11
|
+
- Visit your team page (e.g. `https://console.testdriver.ai/settings`)
|
|
12
12
|
- Create or copy a **Team API Key** (or User API Key)
|
|
13
13
|
- Export it in your shell so Claude Code can pass it to the MCP server:
|
|
14
14
|
|
|
@@ -24,14 +24,14 @@ To start testing your Tauri app with TestDriver, you need the following:
|
|
|
24
24
|
<Accordion title="Create a TestDriver account">
|
|
25
25
|
<Steps>
|
|
26
26
|
<Step title="Create a TestDriver Account">
|
|
27
|
-
You will need a [Free TestDriver Account](https://app.testdriver.ai/
|
|
27
|
+
You will need a [Free TestDriver Account](https://app.testdriver.ai/settings) to get an API key.
|
|
28
28
|
|
|
29
|
-
<Card title="Sign Up for TestDriver" icon="user-plus" horizontal href="https://app.testdriver.ai/
|
|
29
|
+
<Card title="Sign Up for TestDriver" icon="user-plus" horizontal href="https://app.testdriver.ai/settings">
|
|
30
30
|
|
|
31
31
|
</Card>
|
|
32
32
|
</Step>
|
|
33
33
|
<Step title="Set up your environment">
|
|
34
|
-
Copy your API key from [your TestDriver dashboard](https://app.testdriver.ai/
|
|
34
|
+
Copy your API key from [your TestDriver dashboard](https://app.testdriver.ai/settings), and set it as an environment variable.
|
|
35
35
|
|
|
36
36
|
<Tabs>
|
|
37
37
|
<Tab title="macOS / Linux">
|
|
@@ -9,7 +9,7 @@ mode: "wide"
|
|
|
9
9
|
<Steps>
|
|
10
10
|
<Step title="Set up your environment">
|
|
11
11
|
|
|
12
|
-
Copy your API key from [the TestDriver dashboard](https://app.testdriver.ai/
|
|
12
|
+
Copy your API key from [the TestDriver dashboard](https://app.testdriver.ai/settings), and set it as an environment variable.
|
|
13
13
|
|
|
14
14
|
<Tabs>
|
|
15
15
|
<Tab title="macOS / Linux">
|
|
@@ -47,15 +47,15 @@ test.describe("get started link", () => {
|
|
|
47
47
|
|
|
48
48
|
<Steps>
|
|
49
49
|
<Step title="Create a TestDriver Account">
|
|
50
|
-
You will need a [Free TestDriver Account](https://app.testdriver.ai/
|
|
50
|
+
You will need a [Free TestDriver Account](https://app.testdriver.ai/settings) to get an API key.
|
|
51
51
|
|
|
52
|
-
<Card title="Sign Up for TestDriver" icon="user-plus" horizontal href="https://app.testdriver.ai/
|
|
52
|
+
<Card title="Sign Up for TestDriver" icon="user-plus" horizontal href="https://app.testdriver.ai/settings">
|
|
53
53
|
|
|
54
54
|
</Card>
|
|
55
55
|
|
|
56
56
|
</Step>
|
|
57
57
|
<Step title="Set up your environment">
|
|
58
|
-
Copy your API key from [the TestDriver dashboard](https://app.testdriver.ai/
|
|
58
|
+
Copy your API key from [the TestDriver dashboard](https://app.testdriver.ai/settings), and set it as an environment variable.
|
|
59
59
|
|
|
60
60
|
<Tabs>
|
|
61
61
|
<Tab title="macOS / Linux">
|
|
@@ -67,7 +67,7 @@ The TestDriver VS Code extension is a powerful tool that integrates TestDriver's
|
|
|
67
67
|
1. Open the command palette (Cmd+Shift+P or Ctrl+Shift+P).
|
|
68
68
|
2. Search for "Preferences: Open Settings (UI)" and select it.
|
|
69
69
|
3. In the search bar, type "TestDriver" to filter the settings.
|
|
70
|
-
4. Find the "TestDriver: Set API Key" field and enter your API key from [the TestDriver dashboard](https://app.testdriver.ai/
|
|
70
|
+
4. Find the "TestDriver: Set API Key" field and enter your API key from [the TestDriver dashboard](https://app.testdriver.ai/settings).
|
|
71
71
|
|
|
72
72
|
<Tip>You can also set the `TD_API_KEY` environment variable in your system if you prefer not to enter it directly in the extension settings.</Tip>
|
|
73
73
|
|
|
@@ -9,12 +9,12 @@ mode: "wide"
|
|
|
9
9
|
<Steps>
|
|
10
10
|
<Step title="Create a TestDriver Account">
|
|
11
11
|
|
|
12
|
-
You will need a [TestDriver Pro](https://app.testdriver.ai/
|
|
12
|
+
You will need a [TestDriver Pro](https://app.testdriver.ai/settings) account ($20/month) to get an API key.
|
|
13
13
|
|
|
14
14
|
<Card
|
|
15
15
|
title="Sign Up for TestDriver"
|
|
16
16
|
icon="user-plus"
|
|
17
|
-
href="https://app.testdriver.ai/
|
|
17
|
+
href="https://app.testdriver.ai/settings"
|
|
18
18
|
arrow
|
|
19
19
|
horizontal
|
|
20
20
|
></Card>
|
|
@@ -22,7 +22,7 @@ mode: "wide"
|
|
|
22
22
|
</Step>
|
|
23
23
|
<Step title="Set up your environment">
|
|
24
24
|
|
|
25
|
-
Copy your API key from [the TestDriver dashboard](https://app.testdriver.ai/
|
|
25
|
+
Copy your API key from [the TestDriver dashboard](https://app.testdriver.ai/settings), and set it as an environment variable.
|
|
26
26
|
|
|
27
27
|
<Tabs>
|
|
28
28
|
<Tab title="macOS / Linux">
|
|
@@ -47,15 +47,15 @@ test.describe("get started link", () => {
|
|
|
47
47
|
|
|
48
48
|
<Steps>
|
|
49
49
|
<Step title="Create a TestDriver Account">
|
|
50
|
-
You will need a [Free TestDriver Account](https://console.testdriver.ai/
|
|
50
|
+
You will need a [Free TestDriver Account](https://console.testdriver.ai/settings) to get an API key.
|
|
51
51
|
|
|
52
|
-
<Card title="Sign Up for TestDriver" icon="user-plus" horizontal href="https://console.testdriver.ai/
|
|
52
|
+
<Card title="Sign Up for TestDriver" icon="user-plus" horizontal href="https://console.testdriver.ai/settings">
|
|
53
53
|
|
|
54
54
|
</Card>
|
|
55
55
|
|
|
56
56
|
</Step>
|
|
57
57
|
<Step title="Set up your environment">
|
|
58
|
-
Copy your API key from [the TestDriver dashboard](https://console.testdriver.ai/
|
|
58
|
+
Copy your API key from [the TestDriver dashboard](https://console.testdriver.ai/settings), and set it as an environment variable.
|
|
59
59
|
|
|
60
60
|
<Tabs>
|
|
61
61
|
<Tab title="macOS / Linux">
|
|
@@ -57,7 +57,7 @@ node -e "require('dotenv').config(); console.log(process.env.TD_API_KEY)"
|
|
|
57
57
|
**Error:** `Authentication failed: Invalid API key`
|
|
58
58
|
|
|
59
59
|
**Solution:**
|
|
60
|
-
1. Verify key at [console.testdriver.ai/
|
|
60
|
+
1. Verify key at [console.testdriver.ai/settings](https://console.testdriver.ai/settings)
|
|
61
61
|
2. Check for typos or extra spaces
|
|
62
62
|
3. Regenerate key if needed
|
|
63
63
|
|
|
@@ -99,7 +99,7 @@ while (attempts < 3) {
|
|
|
99
99
|
**Error:** `Sandbox limit reached`
|
|
100
100
|
|
|
101
101
|
**Solution:**
|
|
102
|
-
1. Check your [quota](https://console.testdriver.ai/
|
|
102
|
+
1. Check your [quota](https://console.testdriver.ai/settings)
|
|
103
103
|
2. Disconnect old sandboxes
|
|
104
104
|
3. Upgrade plan if needed
|
|
105
105
|
|
package/docs/v7/ci-cd.mdx
CHANGED
|
@@ -15,7 +15,7 @@ workflow is running inside your org and TestDriver exchanges that proof for your
|
|
|
15
15
|
team's key at run time. See the GitHub Actions tab below.
|
|
16
16
|
|
|
17
17
|
For other CI providers (or self-hosted runners without OIDC), fall back to a
|
|
18
|
-
stored API key from [console.testdriver.ai/
|
|
18
|
+
stored API key from [console.testdriver.ai/settings](https://console.testdriver.ai/settings),
|
|
19
19
|
added as a `TD_API_KEY` secret in your CI provider's settings.
|
|
20
20
|
|
|
21
21
|
<Note>
|
package/docs/v7/client.mdx
CHANGED
|
@@ -18,7 +18,7 @@ const testdriver = new TestDriver(apiKey, options)
|
|
|
18
18
|
### Parameters
|
|
19
19
|
|
|
20
20
|
<ParamField path="apiKey" type="string" required>
|
|
21
|
-
Your TestDriver API key from the [dashboard](https://console.testdriver.ai/
|
|
21
|
+
Your TestDriver API key from the [dashboard](https://console.testdriver.ai/settings)
|
|
22
22
|
</ParamField>
|
|
23
23
|
|
|
24
24
|
<ParamField path="options" type="object">
|
|
@@ -18,7 +18,7 @@ TestDriver integrates with AI coding assistants through the VS Code extension an
|
|
|
18
18
|
Before you begin, you'll need:
|
|
19
19
|
|
|
20
20
|
- **An MCP-capable AI assistant** — Such as GitHub Copilot, Cursor, or Claude Desktop. For Copilot, a [free tier](https://github.com/features/copilot/plans) is available.
|
|
21
|
-
- **TestDriver Account** — Create a free account at [console.testdriver.ai](https://console.testdriver.ai/
|
|
21
|
+
- **TestDriver Account** — Create a free account at [console.testdriver.ai](https://console.testdriver.ai/settings) to get your API key. 60 free device minutes, no credit card required.
|
|
22
22
|
- **VS Code** — The TestDriver extension provides the best experience with live preview and integrated test running.
|
|
23
23
|
|
|
24
24
|
### Setup Steps
|
package/docs/v7/quickstart.mdx
CHANGED
|
@@ -117,7 +117,7 @@ TestDriver makes it easy to write automated computer-use tests for web browsers,
|
|
|
117
117
|
`init` detects clients already present in your project and pre-selects them in the picker. Re-running `init` is safe — it merges the TestDriver entry into existing config without overwriting your other servers.
|
|
118
118
|
</Info>
|
|
119
119
|
|
|
120
|
-
You'll need a TestDriver API key. Create one at [console.testdriver.ai/
|
|
120
|
+
You'll need a TestDriver API key. Create one at [console.testdriver.ai/settings](https://console.testdriver.ai/settings) and `init` will save it to `.env` as `TD_API_KEY`.
|
|
121
121
|
|
|
122
122
|
### The agent
|
|
123
123
|
|
|
@@ -262,7 +262,7 @@ TestDriver makes it easy to write automated computer-use tests for web browsers,
|
|
|
262
262
|
{
|
|
263
263
|
"type": "promptString",
|
|
264
264
|
"id": "testdriver-api-key",
|
|
265
|
-
"description": "TestDriver API Key From https://console.testdriver.ai/
|
|
265
|
+
"description": "TestDriver API Key From https://console.testdriver.ai/settings",
|
|
266
266
|
"password": true
|
|
267
267
|
}
|
|
268
268
|
]
|
|
@@ -358,7 +358,7 @@ TestDriver makes it easy to write automated computer-use tests for web browsers,
|
|
|
358
358
|
<Card
|
|
359
359
|
title="Get an API Key"
|
|
360
360
|
icon="user-plus"
|
|
361
|
-
href="https://console.testdriver.ai/
|
|
361
|
+
href="https://console.testdriver.ai/settings"
|
|
362
362
|
arrow
|
|
363
363
|
horizontal
|
|
364
364
|
>
|