Closed lukeis closed 8 years ago
investigating with longer strings:
> el.send_keys('123456789a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7b8b9')
EXECUTING: [:sendKeysToElement, {:id=>"0"}, {:value=>["1", "2", "3", "4", "5", "6",
"7", "8", "9", "a", "1", "a", "2", "a", "3", "a", "4", "a", "5", "a", "6", "a", "7",
"a", "8", "a", "9", "b", "1", "b", "2", "b", "3", "b", "4", "b", "5", "b", "6", "b",
"7", "b", "8", "b", "9"]}]
=> ["123456789a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7b8b9"]
> el.value
EXECUTING: [:getElementValue, {:id=>"0"}]
=> "1a1a2a3a4a52a6a7a8a9b13b2b3b4b5b64b7b8b956789"
The pattern seems to be:
characters 10 through 19 (inclusive) are inserted after character 1 of the original
string
characters 20 through 29 are inserted after character 2 of the original string
characters 30 through 39 are inserted after character 3 of the original string
..etc
It looks a lot like something somewhere is using string order instead of numerical
order for an index.
Reported by gfxmonk
on 2011-02-21 00:43:12
Cc'ing Dounia for further investigation.
PS. You can get similar debug output without hacking the gem by setting $DEBUG = true
(or running ruby with -d).
Reported by jari.bakken
on 2011-02-22 01:55:56
Reported by berrada@google.com
on 2011-06-20 22:06:27
Accepted
Reported by berrada@google.com
on 2011-06-20 22:06:40
Reported by berrada@google.com
on 2012-01-27 16:55:36
The AndroidDriver is no longer supported.
See
revision ef9d5787e5e136ecb4a31b0cf53a1fd17e252cf3
revision 3495003a29322fecbdf9e5ddf6cd7c6488539992
For Android automation, take a look at Selendroid or Appium:
https://github.com/appium/appium
http://selendroid.io/
Reported by jmleyba
on 2013-12-19 06:39:14
WontFix
Reported by luke.semerau
on 2015-09-17 18:12:02
Originally reported on Google Code with ID 1319
Reported by
gfxmonk
on 2011-02-21 00:18:06