testdriverai 6.1.11-canary.6f43621.0 → 6.1.11-canary.93ac656.0

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.
@@ -134,7 +134,7 @@ AWS_REGION=us-east-2
134
134
 
135
135
  #### Changing Resolution in Lifecycle Files
136
136
 
137
- You can also change the resolution before running tests by adding an `exec` command in your `lifecycle/provision.yaml` file:
137
+ You can also change the resolution before running tests by adding an [`exec`](/commands/exec) command in your `lifecycle/provision.yaml` file:
138
138
 
139
139
  ```yaml lifecycle/provision.yaml
140
140
  version: 6.0.0
@@ -11,11 +11,10 @@ import GitignoreWarning from "/snippets/gitignore-warning.mdx";
11
11
  The supported environment variables in TestDriver are:
12
12
 
13
13
  <div className="env-vars-table">
14
- | Variable | Type | Description |
15
- |:---------------:|:---------:|---------------------------------------------------------------------------------|
16
- | TD_ANALYTICS | boolean | Send analytics to TestDriver servers. This helps
17
- provide feedback to inform our roadmap. | | TD_API_KEY | string | Set this to
18
- spawn VMs with TestDriver Pro. |
14
+ | Variable | Type | Description |
15
+ |:---------------:|:------------:|:-------------------------------------------------------------------------------:|
16
+ | `TD_ANALYTICS` | `boolean` | Send analytics to TestDriver servers. This helps provide feedback to inform our roadmap. |
17
+ | `TD_API_KEY` | `string` | Set this to spawn VMs with TestDriver Pro. |
19
18
  </div>
20
19
  <GitignoreWarning />
21
20
  ## Example
@@ -11,9 +11,12 @@ TestDriver operates a full desktop environment, so it can run any application.
11
11
 
12
12
  <div className="comparison-table">
13
13
  | Application | TestDriver | Playwright | Selenium |
14
- |:-----------------:|:---------:|:-----------:|:--------:| | Web Apps | ✅ |
15
- | | | Mobile Apps | ✅ | ✅ | ✅ | | VS Code | ✅ | ✅ | ✅ | | Desktop
16
- Apps | | | | | Chrome Extensions | | | |
14
+ |:-----------------:|:---------:|:-----------:|:--------:|
15
+ | Web Apps | ✅ | ✅ | ✅ |
16
+ | Mobile Apps | | | ✅ |
17
+ | VS Code Plugins | ✅ | | |
18
+ | Desktop Apps | ✅ | | |
19
+ | Chrome Extensions | ✅ | | |
17
20
  </div>
18
21
 
19
22
  ## Testing features
@@ -21,11 +24,16 @@ TestDriver operates a full desktop environment, so it can run any application.
21
24
  TestDriver is AI first.
22
25
 
23
26
  <div className="comparison-table">
24
- | Feature | TestDriver | Playwright | Selenium |
25
- |:--------------------:|:---------:|:----------:|:--------:| | Test Generation
26
- | | | | | Adaptive Testing | | | | | Visual Assertions | ✅ | | | | Self
27
- Healing | | | | | Application Switching | | | | | GitHub Actions | ✅ |
28
- | | | Team Dashboard | | | | | Team Collaboration | ✅ | | |
27
+ | Feature | TestDriver | Playwright | Selenium |
28
+ |:--------------------:|:----------:|:----------:|:--------:|
29
+ | Test Generation | ✅ | | |
30
+ | Adaptive Testing | ✅ | | |
31
+ | Visual Assertions | ✅ | | |
32
+ | Self Healing | ✅ | | |
33
+ | Application Switching| ✅ | | |
34
+ | GitHub Actions | ✅ | ✅ | |
35
+ | Team Dashboard | ✅ | | |
36
+ | Team Collaboration | ✅ | | |
29
37
  </div>
30
38
 
31
39
  ## Test coverage
@@ -36,16 +44,16 @@ TestDriver has more coverage than selector-based frameworks.
36
44
  | Feature | TestDriver | Playwright | Selenium |
37
45
  |:------------------:|:----------:|:----------:|:--------:|
38
46
  | Browser Viewport | ✅ | ✅ | ✅ |
39
- | Browser App | ✅ | | |
40
- | Operating System | ✅ | | |
41
- | PDFs | ✅ | | |
42
- | File System | ✅ | | |
43
- | Push Notifications | ✅ | | |
44
- | Image Content | ✅ | | |
45
- | Video Content | ✅ | | |
46
- | `<iframe>` | ✅ | | |
47
- | `<canvas>` | ✅ | | |
48
- | `<video>` | ✅ | | |
47
+ | Browser App | ✅ | | |
48
+ | Operating System | ✅ | | |
49
+ | PDFs | ✅ | | |
50
+ | File System | ✅ | | |
51
+ | Push Notifications | ✅ | | |
52
+ | Image Content | ✅ | | |
53
+ | Video Content | ✅ | | |
54
+ | `<iframe>` | ✅ | | |
55
+ | `<canvas>` | ✅ | | |
56
+ | `<video>` | ✅ | | |
49
57
  </div>
50
58
 
51
59
  ## Debugging features
@@ -53,11 +61,15 @@ TestDriver has more coverage than selector-based frameworks.
53
61
  Debugging features are powered by [Dashcam.io](https://dashcam.io).
54
62
 
55
63
  <div className="comparison-table">
56
- | Feature | TestDriver | Playwright | Selenium |
57
- |:------------------:|:----------:|:----------:|:--------:| | AI Summary | ✅
58
- | | | | Video Replay | || | | Browser Logs | ✅ | ✅ | | | Desktop Logs
59
- | | | | | Network Requests | | ✅ | | | Team Dashboard | ✅ | | | | Team
60
- Collaboration | | | |
64
+ | Feature | TestDriver | Playwright | Selenium |
65
+ |:--------------------:|:----------:|:----------:|:--------:|
66
+ | AI Summary | ✅ | | |
67
+ | Video Replay | ✅ | ✅ | |
68
+ | Browser Logs | | | |
69
+ | Desktop Logs | ✅ | | |
70
+ | Network Requests | ✅ | ✅ | |
71
+ | Team Dashboard | ✅ | | |
72
+ | Team Collaboration | ✅ | | |
61
73
  </div>
62
74
 
63
75
  ## Web browser support
@@ -65,18 +77,25 @@ Debugging features are powered by [Dashcam.io](https://dashcam.io).
65
77
  TestDriver is browser agnostic and supports any version of any browser.
66
78
 
67
79
  <div className="comparison-table">
68
- | Feature | TestDriver | Playwright | Selenium |
69
- |:--------:|:----------:|:----------:|:--------:| | Chrome | ✅ | ✅ | ✅ | |
70
- Firefox | | ✅ | ✅ | | Webkit | | ✅ | ✅ | | IE | ✅ | | ✅ | | Edge |
71
- | | ✅ | | Opera | | | | | Safari | ✅ | | ✅ |
80
+ | Feature | TestDriver | Playwright | Selenium |
81
+ |:--------:|:----------:|:----------:|:--------:|
82
+ | Chrome | ✅ | ✅ | ✅ |
83
+ | Firefox | ✅ | ✅ | ✅ |
84
+ | Webkit | ✅ | ✅ | ✅ |
85
+ | IE | ✅ | | ✅ |
86
+ | Edge | ✅ | ✅ | ✅ |
87
+ | Opera | ✅ | | ✅ |
88
+ | Safari | ✅ | | ✅ |
72
89
  </div>
73
90
 
74
91
  ## Operating system support
75
92
 
76
- TestDriver currently supports Mac and Windows!
93
+ TestDriver currently supports all the three major operating systems!
77
94
 
78
95
  <div className="comparison-table">
79
- | Feature | TestDriver | Playwright | Selenium |
80
- |:--------:|:----------:|:----------:|:--------:| | Windows | ✅ | ✅ | ✅ | |
81
- Mac | | ✅ | ✅ | | Linux | | | ✅ |
96
+ | Feature | TestDriver | Playwright | Selenium |
97
+ |:--------:|:----------:|:----------:|:--------:|
98
+ | Windows | ✅ | ✅ | ✅ |
99
+ | Mac | ✅ | ✅ | ✅ |
100
+ | Linux | ✅ | ✅ | ✅ |
82
101
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "6.1.11-canary.6f43621.0",
3
+ "version": "6.1.11-canary.93ac656.0",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -4,4 +4,6 @@ steps:
4
4
  commands:
5
5
  - command: exec
6
6
  lang: pwsh
7
- code: dashcam -t 'Web Test Recording' -p
7
+ code: |
8
+ npm install dashcam@beta -g
9
+ dashcam -t 'Web Test Recording' -p
@@ -1,7 +1,15 @@
1
1
  version: 6.0.0
2
2
  steps:
3
- - prompt: launch chrome
3
+ - prompt: setup dashcam
4
4
  commands:
5
+ - command: exec
6
+ lang: pwsh
7
+ code: |
8
+ npm install dashcam@beta -g
9
+ npm list -g dashcam
10
+ - command: exec
11
+ lang: pwsh
12
+ code: dashcam auth 4e93d8bf-3886-4d26-a144-116c4063522d
5
13
  - command: exec
6
14
  lang: pwsh
7
15
  code: dashcam track --name=TestDriver --type=application --pattern="C:\Users\testdriver\Documents\testdriver.log"