WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2017-11-30 05:42:47 PST
Created
attachment 327971
[details]
Patch
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
Committed
r225388
: <
https://trac.webkit.org/changeset/225388
>
Radar WebKit Bug Importer
Comment 4
2017-12-01 01:52:23 PST
<
rdar://problem/35793604
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug