testdriverai 4.0.30 → 4.0.31
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/lib/commands.js +3 -1
- package/package.json +1 -1
package/lib/commands.js
CHANGED
|
@@ -222,6 +222,9 @@ const hover = async(x, y) => {
|
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
let commands = {
|
|
225
|
+
scroll: scroll,
|
|
226
|
+
click: click,
|
|
227
|
+
hover: hover,
|
|
225
228
|
// method, levenshein, dice, or combined
|
|
226
229
|
// leven = this is turbo, all around good for text similarity
|
|
227
230
|
// dice = this is good for short strings, but not as good for long strings
|
|
@@ -441,7 +444,6 @@ let commands = {
|
|
|
441
444
|
}
|
|
442
445
|
|
|
443
446
|
},
|
|
444
|
-
scroll,
|
|
445
447
|
"scroll-until-text": async(text, direction = 'down', maxDistance = 1200, method = 'ai') => {
|
|
446
448
|
|
|
447
449
|
await redraw.start();
|