Skip to content

Commit

Permalink
Update the description of abortOnFailure for waitForElementVisible.js (
Browse files Browse the repository at this point in the history
  • Loading branch information
gravityvi committed Oct 19, 2023
1 parent f6ed245 commit fe5b281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/element-commands/waitForElementVisible.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const WaitForDisplayed = require('./_waitForDisplayed.js');
/**
* Waits a given time in milliseconds (default 5000ms) for an element to be visible in the page before performing any other commands or assertions.
*
* If the element fails to be present and visible in the specified amount of time, the test fails. You can change this by setting `abortOnFailure` to `false`.
* If the element fails to be present and visible in the specified amount of time, the test will be marked as failed, and ordinarily, the subsequent steps/commands within the test-case/section will not be performed. However, you have the option to prevent the remaining steps/commands from being skipped by setting `abortOnFailure` to `false`.
*
* You can change the polling interval by defining a `waitForConditionPollInterval` property (in milliseconds) in as a global property in your `nightwatch.json` or in your external globals file.
*
Expand Down

0 comments on commit fe5b281

Please sign in to comment.