You are here

public static function WebDriverCurlService::enableRetry in Drupal 9

Enables retries.

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

1 call to WebDriverCurlService::enableRetry()
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 29

Class

WebDriverCurlService
Provides a curl service to interact with Selenium driver.

Namespace

Drupal\FunctionalJavascriptTests

Code

public static function enableRetry() {
  static::$retry = TRUE;
}