Commit 2945b4e3 2945b4e3f767eb5c6c95441f75376cf8f3cbf883 by Nicolas Perriault

Merge pull request #653 from ebouchut/typo

Fix typo in documentation.
2 parents b092f84d 29a9270c
...@@ -1467,7 +1467,7 @@ Options ...@@ -1467,7 +1467,7 @@ Options
1467 - ``(Boolean) keepFocus``: 1467 - ``(Boolean) keepFocus``:
1468 1468
1469 1469
1470 ``sendKeys()`` by default will remove the focus on text input fields, which will typically close autocomplete widgets. If you want to maintain focus, us e the ``keepFocus`` option. For example, if using jQuery-UI, you can click on the first autocomplete suggestion using:: 1470 ``sendKeys()`` by default will remove the focus on text input fields, which will typically close autocomplete widgets. If you want to maintain focus, use the ``keepFocus`` option. For example, if using jQuery-UI, you can click on the first autocomplete suggestion using::
1471 1471
1472 casper.then(function() { 1472 casper.then(function() {
1473 this.sendKeys('form.contact input#name', 'action', {keepFocus: true}); 1473 this.sendKeys('form.contact input#name', 'action', {keepFocus: true});
...@@ -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');
......