Fix typo in doc: Casper.waitForUrl
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -2034,7 +2034,7 @@ Wait until a resource that matches the given ``testFx`` is loaded to process a n | ... | @@ -2034,7 +2034,7 @@ Wait until a resource that matches the given ``testFx`` is loaded to process a n |
2034 | 2034 | ||
2035 | .. versionadded:: 1.1 | 2035 | .. versionadded:: 1.1 |
2036 | 2036 | ||
2037 | Waits for the current pahe url to match the provided argument (``String`` or ``RegExp``):: | 2037 | Waits for the current page url to match the provided argument (``String`` or ``RegExp``):: |
2038 | 2038 | ||
2039 | casper.start('http://foo/').waitForUrl(/login\.html$/, function() { | 2039 | casper.start('http://foo/').waitForUrl(/login\.html$/, function() { |
2040 | this.echo('redirected to login.html'); | 2040 | this.echo('redirected to login.html'); | ... | ... |
-
Please register or sign in to post a comment