1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-11-25 22:01:39 +02:00
Files
ferret/e2e/tests/dynamic/doc/xpath/count.fql

6 lines
138 B
Plaintext
Raw Normal View History

LET url = @lab.cdn.dynamic
LET page = DOCUMENT(url, { driver: "cdp" })
LET actual = XPATH(page, "count(//body)")
RETURN T::EQ(actual, 1)