What happened:
Using the Get Element Text endpoint returns the plain textContent of an element.
What you expected to happen:
For PlumaDriver to return results as recommended in the WebDriver spec.
How to reproduce it (as minimally and precisely as possible):
<html>
<body>
<div id="x">
<div id="y">
<div>A</div>
<div>b</div>
</div>
</div>
</body>
</html>
Get the text of the div with id x (Expected: "A\nb", Received: "\n\nA\nb\n\n").
What happened:
Using the
Get Element Textendpoint returns the plaintextContentof an element.What you expected to happen:
For PlumaDriver to return results as recommended in the WebDriver spec.
How to reproduce it (as minimally and precisely as possible):
Get the text of the
divwith idx(Expected:"A\nb", Received:"\n\nA\nb\n\n").