1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-16 11:37:36 +02:00
ferret/examples/value.fql
2019-07-23 14:55:26 -04:00

4 lines
188 B
Plaintext

LET doc = DOCUMENT("https://www.yandex.com/search/?text=foobar", { driver: "cdp" })
LET input = ELEMENT(doc, 'input[type="search"]')
RETURN input.value ? input.value : 'value not defined'