Closed Bug 904130 Opened 13 years ago Closed 12 years ago

[marionette-js-runner] Look into supporting something like Marionette.Element#textContent

Categories

(Testing Graveyard :: JSMarionette, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: gaye, Assigned: gaye)

Details

We need some way to get the text in elements' text node children. Marionette.Element#text returns a string representation of the marionette thing and it's relatively useless. We need something like MarionetteElement#textContent which could look at a <div> like <div>Hello, Gareth!</div> and return 'Hello, Gareth!' by making a call to Element#textContent (or something equivalent). I can't immediately find something like this in the marionette server docs, but we should do more digging.
QA Contact: gaye
Assignee: nobody → gaye
Good question... I will investigate.
So it's working today! /me confused.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.