RESOLVED FIXED 180191
WebDriver: link and partial links queries don't work in xhtml documents
https://bugs.webkit.org/show_bug.cgi?id=180191
Summary WebDriver: link and partial links queries don't work in xhtml documents
Carlos Garcia Campos
Reported 2017-11-30 05:39:18 PST
We convert the queries to use xpath, which works for html documents, but it doesn't work for xhtml. In case of xhtml we would need to provide a namespace resolver and elements would need to be prefixed with xhtml: I would be a lot easier to simply iterate the link elements and copare the text.
Attachments
Patch (4.36 KB, patch)
2017-11-30 05:42 PST, Carlos Garcia Campos
bburg: review+
Carlos Garcia Campos
Comment 1 2017-11-30 05:42:47 PST
Blaze Burg
Comment 2 2017-11-30 15:53:29 PST
Comment on attachment 327971 [details] Patch r=me Oh well for trying to be clever!
Carlos Garcia Campos
Comment 3 2017-12-01 01:51:03 PST
Radar WebKit Bug Importer
Comment 4 2017-12-01 01:52:23 PST
Note You need to log in before you can comment on or make changes to this bug.