From 0c9c0b1e392d4376e76fcddb1e0e7724a0146f4c Mon Sep 17 00:00:00 2001 From: Ciro Date: Wed, 23 Aug 2017 18:44:57 +0200 Subject: [PATCH] Correct Readme Example (#1232) update wrong example --- Readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 51a86e17..b0cb2c3d 100644 --- a/Readme.md +++ b/Readme.md @@ -42,9 +42,9 @@ nightmare .goto('https://duckduckgo.com') .type('#search_form_input_homepage', 'github nightmare') .click('#search_button_homepage') - .wait('#zero_click_wrapper .c-info__title a') + .wait('#r1-0 a.result__a') .evaluate(function () { - return document.querySelector('#zero_click_wrapper .c-info__title a').href; + return document.querySelector('#r1-0 a.result__a').href; }) .end() .then(function (result) {