Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(641)

Issue 2295443003: [chromedriver] Added option to make element references W3C compliant. (Closed)

Created:
4 years, 3 months ago by samuong
Modified:
4 years ago
Reviewers:
stgao, vinodsonkusare77
CC:
chromium-reviews, samuong+watch_chromium.org, pfeldman, devtools-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[chromedriver] Added option to make element references W3C compliant. This patch is done on behalf of roisinmcl@chromium.org (original work in https://codereview.chromium.org/2230053002/). When a chromedrvier session is created with a flag for W3C compliance, chromedriver will reference the element with a UUID in place of the existing ID generation method. Chromedriver wrapping/unwrapping functions have been changed to match the new referencing when the W3C flag is true. BUG= Committed: https://crrev.com/f2f2146a3f18c7596da37087662f0aeec3b09bfd Cr-Commit-Position: refs/heads/master@{#434753}

Patch Set 1 #

Total comments: 4

Patch Set 2 : delete print statement, rebase #

Patch Set 3 : fix errors introduced during previous rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -75 lines) Patch
M chrome/test/chromedriver/chrome/chrome.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/test/chromedriver/chrome/chrome_desktop_impl.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/test/chromedriver/chrome/chrome_desktop_impl.cc View 1 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/test/chromedriver/chrome/chrome_impl.h View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/test/chromedriver/chrome/chrome_impl.cc View 1 2 4 chunks +11 lines, -7 lines 0 comments Download
M chrome/test/chromedriver/chrome/devtools_http_client.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/chrome/stub_chrome.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/test/chromedriver/chrome/stub_chrome.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/test/chromedriver/chrome/web_view_impl.h View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/test/chromedriver/chrome/web_view_impl.cc View 1 5 chunks +15 lines, -7 lines 0 comments Download
M chrome/test/chromedriver/chrome_launcher.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/chromedriver/chrome_launcher.cc View 1 4 chunks +8 lines, -4 lines 0 comments Download
M chrome/test/chromedriver/client/chromedriver.py View 1 3 chunks +15 lines, -5 lines 0 comments Download
M chrome/test/chromedriver/commands.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/chromedriver/element_util.cc View 1 5 chunks +12 lines, -4 lines 0 comments Download
M chrome/test/chromedriver/js/call_function.js View 6 chunks +117 lines, -8 lines 0 comments Download
M chrome/test/chromedriver/js/call_function_test.html View 4 chunks +25 lines, -3 lines 0 comments Download
M chrome/test/chromedriver/session_commands.cc View 1 2 12 chunks +20 lines, -13 lines 0 comments Download
M chrome/test/chromedriver/test/run_py_tests.py View 1 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/window_commands.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
A chrome/test/data/chromedriver/element_ref.html View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/test/data/chromedriver/orientation_test.html View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 22 (11 generated)
samuong
ptal
4 years, 3 months ago (2016-08-29 21:29:38 UTC) #2
vinodsonkusare77_gmail.com
https://youtu.be/ZB29OFBS2w8?list=UUWQUZfAdokV83KKjLl-sDeQ On Tue, Aug 30, 2016 at 2:59 AM, <samuong@chromium.org> wrote: > Reviewers: stgao > ...
4 years, 3 months ago (2016-08-30 06:35:49 UTC) #3
stgao
lgtm with a suggestion that could be done in a follow-up CL if it makes ...
4 years, 3 months ago (2016-08-31 18:26:17 UTC) #4
samuong
https://codereview.chromium.org/2295443003/diff/1/chrome/test/chromedriver/js/call_function.js File chrome/test/chromedriver/js/call_function.js (right): https://codereview.chromium.org/2295443003/diff/1/chrome/test/chromedriver/js/call_function.js#newcode76 chrome/test/chromedriver/js/call_function.js:76: CacheWithUUID.prototype = { On 2016/08/31 18:26:16, stgao (slow on ...
4 years ago (2016-11-23 22:48:45 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2295443003/20001
4 years ago (2016-11-23 22:50:05 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/341904)
4 years ago (2016-11-23 23:08:36 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2295443003/60001
4 years ago (2016-11-23 23:26:01 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: blimp_linux_dbg on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_amd64-generic_chromium_compile_only_ng on ...
4 years ago (2016-11-24 01:28:31 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2295443003/60001
4 years ago (2016-11-28 17:45:32 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years ago (2016-11-28 22:50:32 UTC) #20
commit-bot: I haz the power
4 years ago (2016-11-28 22:52:44 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f2f2146a3f18c7596da37087662f0aeec3b09bfd
Cr-Commit-Position: refs/heads/master@{#434753}

Powered by Google App Engine
This is Rietveld 408576698