macaca-android
Advanced tools
Comparing version 2.0.9 to 2.0.10
@@ -101,8 +101,9 @@ 'use strict'; | ||
if (keyEvent) { | ||
/* send at last | ||
if (arrText.length) { | ||
yield this.proxyCommand('/wd/hub/element/:sessionId/value', 'post', { | ||
yield this.proxyCommand('/wd/hub/session/:sessionId/element/1/value', 'post', { | ||
value: arrText | ||
}); | ||
arrText = []; | ||
} | ||
}*/ | ||
yield this.proxyCommand('/wd/hub/session/:sessionId/keys', 'post', { | ||
@@ -116,3 +117,3 @@ value: [keyEvent] | ||
if (arrText.length) { | ||
yield this.proxyCommand('/wd/hub/element/:sessionId/value', 'post', { | ||
yield this.proxyCommand('/wd/hub/session/:sessionId/element/1/value', 'post', { | ||
value: arrText | ||
@@ -119,0 +120,0 @@ }); |
{ | ||
"name": "macaca-android", | ||
"version": "2.0.9", | ||
"version": "2.0.10", | ||
"description": "Macaca Android driver", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
19417
524