function WebDriverCurlService::enableRetry

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalJavascriptTests/WebDriverCurlService.php \Drupal\FunctionalJavascriptTests\WebDriverCurlService::enableRetry()
  2. 11.x core/tests/Drupal/FunctionalJavascriptTests/WebDriverCurlService.php \Drupal\FunctionalJavascriptTests\WebDriverCurlService::enableRetry()

Enables retries.

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

1 call to WebDriverCurlService::enableRetry()
DocumentElement::waitFor in core/tests/Drupal/Tests/DocumentElement.php

File

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

Class

WebDriverCurlService
Provides a curl service to interact with Selenium driver.

Namespace

Drupal\FunctionalJavascriptTests

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.