commit | 94f2b4c77289230dc50c5fbb43a2bad7bc9792ef | [log] [tgz] |
---|---|---|
author | Julian Kung <juliankung@chromium.org> | Mon Jun 10 18:02:50 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jun 10 18:02:50 2019 |
tree | a33acfab6a2ef7c1647211c612fcc5ea210e97a7 | |
parent | b443ce58591d814a110ffd709bfd24a5be2d7817 [diff] |
Updated SendKeysToElement to append text Updated SendKeysToElement to be W3C compliant by adding the spec steps: 1) Let current text length be the JavaScript string's length of element's API value. 2) Set the text insertion caret using set selection range using current text length for both the start and end parameters. Previously, SendKeysToElement would not place the text insertion caret to the end of the textbox. Additionally wrote unit test and html "testSendKeysToElementAppend" in run_py_tests.py to test correct implementation. R=crouleau@google.com, zhanliang@google.com Test: testSendKeysToElementAppend in run_py_tests.py Bug: chromedriver:2704 Change-Id: I602c92dd529078ef9ce4a15d43f690f5cb1f7c88 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1648815 Commit-Queue: Julian Kung <juliankung@google.com> Auto-Submit: Julian Kung <juliankung@google.com> Reviewed-by: John Chen <johnchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#667645}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .