1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-18 23:47:48 +02:00
ferret/e2e/tests/static/doc/xpath/attr.fql
Tim Voronov 145a16f97d
Bugfix/#421 xpath (#435)
* Fixed attr retrieval using XPATH in CDP

* Updated single node value in CDP

* Added e2e test

* Fixed attr retrieval with XPATH for HTTP driver

* Update Makefile

* Update attr.fql
2019-12-29 12:46:46 -05:00

7 lines
139 B
Plaintext

LET url = @static + '/simple.html'
LET page = DOCUMENT(url)
LET actual = XPATH(page, "//meta/@charset")
RETURN EXPECT(["UTF-8"], actual)