Skip to content

Commit

Permalink
Correct Readme Example (#1232)
Browse files Browse the repository at this point in the history
update wrong example
  • Loading branch information
k1r0s authored and casesandberg committed Aug 23, 2017
1 parent 2f5c4b9 commit 0c9c0b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0c9c0b1

Please sign in to comment.