1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-01-12 03:19:45 +02:00
ferret/e2e/tests/static/element/xpath/query.fql

7 lines
210 B
Plaintext
Raw Normal View History

LET url = @static + '/value.html'
LET page = DOCUMENT(url, true)
LET element = ELEMENT(page, '.tablesorter')
LET actual = XPATH(element, "//input[contains(@type, 'hidden')]")
RETURN EXPECT(40, LENGTH(actual))