1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-16 11:37:36 +02:00
ferret/examples/redirects.fql

15 lines
262 B
Plaintext
Raw Normal View History

LET doc = DOCUMENT("http://waos.ovh/redirect.html", {
driver: 'cdp',
viewport: {
width: 1920,
height: 1080
}
})
CLICK(doc, '.click')
2019-12-25 01:51:59 +02:00
WAIT_NAVIGATION(doc, {
target: "(\/[0-9].*\?|redirect2.html)"
})
RETURN ELEMENT(doc, '.title')