Issue #2809517 by martin107, Lendude: Convert AJAX part of \Drupal\system\Tests\Ajax\AjaxFormCacheTest to WebDriverTestBase (cherry picked from commit 2f08f6de)