[wpt-sync] Sync PR 31224 - [wdspec] Add tests for xpaths containing unicode characters
Categories
(Testing :: geckodriver, task, P4)
Tracking
(Not tracked)
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 31224 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/31224
Details from upstream follow.
Andrew Nicols <andrew@nicols.co.uk> wrote:
[wdspec] Add tests for xpaths containing unicode characters
The wdspec does not limit the use of any valid xpath queries.
Use of unicode characters in both their text representation and their
unicode literal value are both supported by xpath, but the text
representations do not seem to be supported by mainstream browsers.This patch adds two new xpath searches to find_element and find_elements
to search for the unicode character for (left-to-right marker):
- a literal unicode character; and
- the text representation of that character (\u200E).
These are both valid xpath queries which work in-browser, but not
through webdriver.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Description
•