You are here

public static function WebDriverCurlService::disableRetry in Drupal 9

Disables retries.

This is useful if the caller is implementing it's own waiting process.

1 call to WebDriverCurlService::disableRetry()
JSWebAssert::waitForHelper in core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php
Wraps waits in a function to catch curl exceptions to continue waiting.

File

core/tests/Drupal/FunctionalJavascriptTests/WebDriverCurlService.php, line 38

Class

WebDriverCurlService
Provides a curl service to interact with Selenium driver.

Namespace

Drupal\FunctionalJavascriptTests

Code

public static function disableRetry() {
  static::$retry = FALSE;
}