Marionette findElements response contains array of element IDs instead of JSON objects

RESOLVED FIXED

Status

defect
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: james.h.evans.jr, Assigned: automatedtester)

Tracking

(Blocks 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Description

6 years ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Firefox/24.0 (Beta/Release)
Build ID: 20130910160258

Steps to reproduce:

Call the Marionette findElements command using the Marionette JSON communication protocol, like this:
{"to":"0","name":"findElements","sessionId":"19","parameters":{"using":"name","value":"multi"}}



Actual results:

Get a returned JSON response similar to (manually pretty-printed):
{"from":"0","value":[
  "{407c6eb3-847c-4fea-917a-b96ef809a493}",
  "{95ba79f1-d292-4042-860a-2d590c42687d}",
  "{988843f7-b3ea-4586-bf16-0ceeb5ad80f2}",
  "{e98ef0b0-ffa4-44b2-97e3-af6ee0b7c5f1}",
  "{5732f9da-cf36-4bc4-8e3e-b9e3366ee8e5}",
  "{eb3a4d96-ed12-4771-b3cb-a27381b8332c}",
  "{a5ea2bf5-69b8-4b3a-a283-988a548a51fc}",
  "{354116b6-16c2-4e17-a800-84cb42186ee5}"
]}





Expected results:

Get a returned JSON response similar to (manually pretty-printed):
{"from":"0","value":[
  {"ELEMENT": "{407c6eb3-847c-4fea-917a-b96ef809a493}"},
  {"ELEMENT": "{95ba79f1-d292-4042-860a-2d590c42687d}"},
  {"ELEMENT": "{988843f7-b3ea-4586-bf16-0ceeb5ad80f2}"},
  {"ELEMENT": "{e98ef0b0-ffa4-44b2-97e3-af6ee0b7c5f1}"},
  {"ELEMENT": "{5732f9da-cf36-4bc4-8e3e-b9e3366ee8e5}"},
  {"ELEMENT": "{eb3a4d96-ed12-4771-b3cb-a27381b8332c}"},
  {"ELEMENT": "{a5ea2bf5-69b8-4b3a-a283-988a548a51fc}"},
  {"ELEMENT": "{354116b6-16c2-4e17-a800-84cb42186ee5}"}
]}
Assignee

Updated

6 years ago
Assignee: nobody → dburns
Assignee

Updated

6 years ago
Blocks: webdriver
I think this was fixed by the uplift of http://hg.mozilla.org/releases/mozilla-aurora/rev/51b7db60a117; please re-open if not.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.