mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-16 11:37:36 +02:00
7 lines
144 B
Plaintext
7 lines
144 B
Plaintext
|
LET url = @dynamic
|
||
|
LET page = DOCUMENT(url, true)
|
||
|
|
||
|
LET el = ELEMENT(page, 'main')
|
||
|
LET actual = XPATH(el, "count(//p)")
|
||
|
|
||
|
RETURN EXPECT(1, actual)
|