From 2dd5457f8c5b24203613d94617565fbf2e218ad7 Mon Sep 17 00:00:00 2001 From: Tim Voronov Date: Tue, 24 Dec 2019 18:51:59 -0500 Subject: [PATCH] Updated redirects.fql --- examples/redirects.fql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/redirects.fql b/examples/redirects.fql index 96ebbfbb..2f2f03a7 100644 --- a/examples/redirects.fql +++ b/examples/redirects.fql @@ -8,6 +8,8 @@ LET doc = DOCUMENT("http://waos.ovh/redirect.html", { CLICK(doc, '.click') -WAIT_NAVIGATION(doc) +WAIT_NAVIGATION(doc, { + target: "(\/[0-9].*\?|redirect2.html)" +}) RETURN ELEMENT(doc, '.title') \ No newline at end of file