[Chromedriver] Add support for goog:chromeOptions to conform with currect spec

Desktop / Chromium - Jonathon Kereliuk [chromium.org] - 13 July 2017 10:16 EDT

Issue: https://bugs.chromium.org/p/chromedriver/issues/detail?id=1786 Spec: https://w3c.github.io/webdriver/webdriver-spec.html#capabilities

Both chromeOptions and goog:chromeOptions are supported for now because of compatability.

Change-Id: I2ea778964ee5e5c5782da5030eb18f84dcc7f134

BUG=chromedriver:1786

Change-Id: I2ea778964ee5e5c5782da5030eb18f84dcc7f134 Reviewed-on: https://chromium-review.googlesource.com/568362

5afcfce [Chromedriver] Add support for goog:chromeOptions to conform with currect spec
chrome/test/chromedriver/capabilities.cc | 19 +++++++--
chrome/test/chromedriver/capabilities_unittest.cc | 47 ++++++++++++-----------
chrome/test/chromedriver/session_commands.cc | 15 +++++---
3 files changed, 48 insertions(+), 33 deletions(-)

Upstream: git.chromium.org


  • Share