Document HTMLElement.findElements() on readthedocs

RESOLVED FIXED in mozilla36

Status

defect
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: ahal, Assigned: ahal)

Tracking

unspecified
mozilla36
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Currently marionette.findElement and marionette.findElements are documented on readthedocs, but there is no indication that it's also possible to call elem.findElements() to look for child nodes of that element.
I think the problem is that members are explicitly listed in the docs, rather than using the :members: directive. This means that anytime a method gets added, the documentation needs to be updated which is prone to human error.

This patch uses :members: where possible so new attributes and methods are automatically picked up. Note that the docs for the marionette object are split under different sub-headers.. so it isn't possible to use :members: without getting rid of the sub-headers.
Assignee: nobody → ahalberstadt
Status: NEW → ASSIGNED
Attachment #8505556 - Flags: review?(dburns)
Attachment #8505556 - Flags: review?(dburns) → review+
https://hg.mozilla.org/mozilla-central/rev/59263ec8ca1c
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in before you can comment on or make changes to this bug.