[Webkit-unassigned] [Bug 174617] New: WebDriver: add a javascript to get the visible text

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 18 00:44:42 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=174617

            Bug ID: 174617
           Summary: WebDriver: add a javascript to get the visible text
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: bburg at apple.com
            Blocks: 166679

We are currently returning innerText with whitespaces cleaned, but the spec says we should return someting more complex, equivalent to what the selenium atoms do.

"Let rendered text be the result of performing implementation-specific steps that are exactly analogous to the result of a [[Call]] to bot.dom.getVisibleText, providing null as the this value, and element as the argument."

https://www.w3.org/TR/webdriver/#get-element-text


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=166679
[Bug 166679] [GTK][META] WebDriver implementation
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170718/05ce78ca/attachment.html>


More information about the webkit-unassigned mailing list