Closed Bug 1070268 Opened 12 years ago Closed 12 years ago

add FindChildElements endpoint

Categories

(Remote Protocol :: Marionette, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla35

People

(Reporter: automatedtester, Assigned: automatedtester)

References

()

Details

Attachments

(1 file)

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: nobody → dburns
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+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: