diff --git a/coffee/commands/waitForJqueryAjaxRequest.coffee b/coffee/commands/waitForJqueryAjaxRequest.coffee index d7d2d4f..164ae7a 100644 --- a/coffee/commands/waitForJqueryAjaxRequest.coffee +++ b/coffee/commands/waitForJqueryAjaxRequest.coffee @@ -8,7 +8,7 @@ events = require('events'); * * h3 Examples: * - * browser.WaitForJqueryAjaxRequest(); + * browser.waitForJqueryAjaxRequest(); * * @author maxgalbu * @param {Integer} [timeoutInMilliseconds] - timeout of this wait commands in milliseconds diff --git a/docs/waitForJqueryAjaxRequest.md b/docs/waitForJqueryAjaxRequest.md index 9ce6ed6..f5132bb 100644 --- a/docs/waitForJqueryAjaxRequest.md +++ b/docs/waitForJqueryAjaxRequest.md @@ -8,7 +8,7 @@ maxTimeInMilliseconds (which fails the test). Nightwatch uses the Node.js EventEmitter pattern to handle asynchronous code so this command is also an EventEmitter. ### Examples: - browser.WaitForJqueryAjaxRequest(); + browser.waitForJqueryAjaxRequest(); Author: maxgalbu diff --git a/js/commands/waitForJqueryAjaxRequest.js b/js/commands/waitForJqueryAjaxRequest.js index 938781b..5e5d557 100644 --- a/js/commands/waitForJqueryAjaxRequest.js +++ b/js/commands/waitForJqueryAjaxRequest.js @@ -13,7 +13,7 @@ events = require('events'); * * h3 Examples: * - * browser.WaitForJqueryAjaxRequest(); + * browser.waitForJqueryAjaxRequest(); * * @author maxgalbu * @param {Integer} [timeoutInMilliseconds] - timeout of this wait commands in milliseconds