Merge pull request #573 from infinit89/patch-1
Fixed wrong comment
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -1725,7 +1725,7 @@ Opposite of `thenBypassIf()`_. | ... | @@ -1725,7 +1725,7 @@ Opposite of `thenBypassIf()`_. |
1725 | 1725 | ||
1726 | Adds a new navigation step to click a given selector and optionally add a new navigation step in a single operation:: | 1726 | Adds a new navigation step to click a given selector and optionally add a new navigation step in a single operation:: |
1727 | 1727 | ||
1728 | // Querying for "Chuck Norris" on Google | 1728 | // Click the first link in the casperJS page |
1729 | casper.start('http://casperjs.org/').thenClick('a', function() { | 1729 | casper.start('http://casperjs.org/').thenClick('a', function() { |
1730 | this.echo("I clicked on first link found, the page is now loaded."); | 1730 | this.echo("I clicked on first link found, the page is now loaded."); |
1731 | }); | 1731 | }); | ... | ... |
-
Please register or sign in to post a comment