Skip to content

Get Element Text does not implement the W3C algorithm #106

Description

@poftadeh

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").

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions