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)
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.
| Assignee | ||
Updated•13 years ago
|
QA Contact: gaye
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → gaye
Comment 1•12 years ago
|
||
Does: https://github.com/mozilla-b2g/marionette-js-client/blob/master/lib/marionette/element.js#L191 really not work ? Or is there a bug in the js client?
| Assignee | ||
Comment 2•12 years ago
|
||
Good question... I will investigate.
| Assignee | ||
Comment 3•12 years ago
|
||
So it's working today! /me confused.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Updated•8 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•