Closed
Bug 1070268
Opened 12 years ago
Closed 12 years ago
add FindChildElements endpoint
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla35
People
(Reporter: automatedtester, Assigned: automatedtester)
References
()
Details
Attachments
(1 file)
|
4.69 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
In WebDriver when we find a child element
> element.find_element('search', 'value')
it calls findChildElement. We need to add an alias for this for webdriver compat
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → dburns
| Assignee | ||
Comment 1•12 years ago
|
||
| Assignee | ||
Comment 2•12 years ago
|
||
| Assignee | ||
Comment 3•12 years ago
|
||
Attachment #8493665 -
Flags: review?(jgriffin)
Comment 4•12 years ago
|
||
Comment on attachment 8493665 [details] [diff] [review]
Add findChildElements endpoint to Marionette for WebDriver compatibility
Review of attachment 8493665 [details] [diff] [review]:
-----------------------------------------------------------------
::: testing/marionette/marionette-server.js
@@ +1622,5 @@
> },
>
> /**
> + * Find element using the indicated search strategy
> + * starting from a known element. Used for WebDriver Compatibility only
nit: should have a period at EOL
@@ +1625,5 @@
> + * Find element using the indicated search strategy
> + * starting from a known element. Used for WebDriver Compatibility only
> + * @param {object} aRequest
> + * 'using' member indicates which search method to use
> + * 'value' member is the value the client is looking for
We should document the 'id' member too, although I realize this was just copy/pasted from the findElement block, which is also missing members in the doctstring.
@@ +1680,5 @@
> },
>
> /**
> + * Find elements using the indicated search strategy
> + * starting from a known element. Used for WebDriver Compatibility only
nit: should have period at EOL
@@ +1683,5 @@
> + * Find elements using the indicated search strategy
> + * starting from a known element. Used for WebDriver Compatibility only
> + * @param {object} aRequest
> + * 'using' member indicates which search method to use
> + * 'value' member is the value the client is looking for
Ditto above re: missing members in the docstring.
@@ +2657,2 @@
> "findElements": MarionetteServerConnection.prototype.findElements,
> + "findChildElements":MarionetteServerConnection.prototype.findChildElements, // Needed for WebDriver Compat
nit: Compat shouldn't be capitalized
Attachment #8493665 -
Flags: review?(jgriffin) → review+
| Assignee | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Updated•3 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•