testdriverai 4.0.16 → 4.0.18

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.
Files changed (2) hide show
  1. package/index.js +1 -11
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -17,7 +17,6 @@ const path = require('path');
17
17
  const chalk = require('chalk')
18
18
  const yaml = require('js-yaml');
19
19
  const macScreenPerms = require('mac-screen-capture-permissions');
20
- const clipboardy = require('clipboardy');
21
20
 
22
21
  // local modules
23
22
  const speak = require('./lib/speak');
@@ -746,17 +745,8 @@ ${yaml.dump(step)}
746
745
 
747
746
  };
748
747
 
749
-
750
-
751
748
  const promptUser = () => {
752
- // Case where it doesn't execute the command but pastes the clipboard content
753
- if (rl.on) {
754
- rl.on('paste', () => {
755
- const clipboardContent = clipboardy.readSync();
756
- rl.write(clipboardContent);
757
- });
758
- }
759
- rl.prompt(true);
749
+ rl.prompt(true);
760
750
  }
761
751
 
762
752
  const iffy = async (condition, then, otherwise, depth) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "4.0.16",
3
+ "version": "4.0.18",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {