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

Issue 2230053002: [chromedriver] Added option to make element references W3C compliant.

Created:
4 years, 4 months ago by roisinmcl
Modified:
4 years, 4 months ago
Reviewers:
samuong, prasadv
CC:
chromium-reviews, samuong+watch_chromium.org, pfeldman, devtools-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[chromedriver] Added option to make element references W3C compliant. 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=

Patch Set 1 #

Patch Set 2 : Rebased code with w3c flag change. #

Total comments: 30

Patch Set 3 : Changed UUID generation method. #

Patch Set 4 : Fixed presubmit errors. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -64 lines) Patch
M chrome/test/chromedriver/chrome/chrome.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/chromedriver/chrome/chrome_desktop_impl.h View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/test/chromedriver/chrome/chrome_desktop_impl.cc View 1 2 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/test/chromedriver/chrome/chrome_impl.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/chromedriver/chrome/chrome_impl.cc View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/test/chromedriver/chrome/devtools_http_client.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/chrome/web_view_impl.h View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/test/chromedriver/chrome/web_view_impl.cc View 1 2 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 2 3 3 chunks +15 lines, -5 lines 0 comments Download
M chrome/test/chromedriver/commands.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/chromedriver/element_util.cc View 1 2 5 chunks +13 lines, -4 lines 0 comments Download
M chrome/test/chromedriver/js/call_function.js View 1 2 3 6 chunks +117 lines, -8 lines 0 comments Download
M chrome/test/chromedriver/js/call_function_test.html View 1 2 4 chunks +27 lines, -3 lines 0 comments Download
M chrome/test/chromedriver/session.cc View 1 1 chunk +1 line, -1 line 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 2 3 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 2 3 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/test/data/chromedriver/orientation_test.html View 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
roisinmcl
4 years, 4 months ago (2016-08-10 00:44:57 UTC) #3
samuong
This patch set doesn't apply cleanly to the current HEAD. I think this is due ...
4 years, 4 months ago (2016-08-10 17:14:31 UTC) #4
roisinmcl
4 years, 4 months ago (2016-08-10 19:34:05 UTC) #5
samuong
I'm still trying to figure out whether Chrome's implementation of Math.random() is suitable for generating ...
4 years, 4 months ago (2016-08-11 18:13:20 UTC) #6
samuong
https://codereview.chromium.org/2230053002/diff/20001/chrome/test/chromedriver/js/call_function.js File chrome/test/chromedriver/js/call_function.js (right): https://codereview.chromium.org/2230053002/diff/20001/chrome/test/chromedriver/js/call_function.js#newcode35 chrome/test/chromedriver/js/call_function.js:35: var w3cEnabled = false; if you're going to have ...
4 years, 4 months ago (2016-08-11 20:45:14 UTC) #7
roisinmcl
https://codereview.chromium.org/2230053002/diff/20001/chrome/test/chromedriver/chrome/web_view_impl.cc File chrome/test/chromedriver/chrome/web_view_impl.cc (right): https://codereview.chromium.org/2230053002/diff/20001/chrome/test/chromedriver/chrome/web_view_impl.cc#newcode130 chrome/test/chromedriver/chrome/web_view_impl.cc:130: const bool w3c_compliant) On 2016/08/11 18:13:20, samuong wrote: > ...
4 years, 4 months ago (2016-08-13 01:47:26 UTC) #8
samuong
lgtm
4 years, 4 months ago (2016-08-13 01:50:34 UTC) #9
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/2230053002/60001
4 years, 4 months ago (2016-08-13 02:36:04 UTC) #12
commit-bot: I haz the power
4 years, 4 months ago (2016-08-13 03:06:38 UTC) #14
Try jobs failed on following builders:
  mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED,
http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)

Powered by Google App Engine
This is Rietveld 408576698