testdriverai 7.2.31 → 7.2.32
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
CHANGED
|
@@ -273,7 +273,7 @@ Posts or updates a GitHub comment with test results.
|
|
|
273
273
|
- `prNumber` (number): PR number (optional)
|
|
274
274
|
- `commitSha` (string): Commit SHA (optional)
|
|
275
275
|
|
|
276
|
-
**Returns:** Promise<Object
|
|
276
|
+
**Returns:** `Promise<Object>` - GitHub API response
|
|
277
277
|
|
|
278
278
|
## Examples
|
|
279
279
|
|
package/docs/v7/client.mdx
CHANGED
|
@@ -127,7 +127,7 @@ await testdriver.connect(options)
|
|
|
127
127
|
</Expandable>
|
|
128
128
|
</ParamField>
|
|
129
129
|
|
|
130
|
-
**Returns:** `Promise
|
|
130
|
+
**Returns:** `Promise<Object>` - Sandbox instance details including `instanceId`, `ip`, `vncPort`, etc.
|
|
131
131
|
|
|
132
132
|
#### Examples
|
|
133
133
|
|
package/docs/v7/quickstart.mdx
CHANGED
|
@@ -65,7 +65,7 @@ TestDriver makes it easy to write automated computer-use tests for web browsers,
|
|
|
65
65
|
You will need a TestDriver account to get an API key.
|
|
66
66
|
|
|
67
67
|
<Card
|
|
68
|
-
title="
|
|
68
|
+
title="Get an API Key"
|
|
69
69
|
icon="user-plus"
|
|
70
70
|
href="https://console.testdriver.ai/team"
|
|
71
71
|
arrow
|
package/package.json
CHANGED
|
@@ -31,7 +31,7 @@ describe("Scroll Keyboard Test", () => {
|
|
|
31
31
|
|
|
32
32
|
// Assert the page is scrolled down
|
|
33
33
|
const result = await testdriver.assert(
|
|
34
|
-
"the hamster dance
|
|
34
|
+
"the text 'the hamster dance' is not visible on the webpage",
|
|
35
35
|
);
|
|
36
36
|
expect(result).toBeTruthy();
|
|
37
37
|
});
|