Replace deprecated JavascriptTestBase with WebDriverTestBase
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3097125. --> Reported by: [jonathan1055](https://www.drupal.org/user/92645) >>> <p>Test class WebprofilerTestBase should extend <code>WebDriverTestBase</code> not the deprecated <code>JavascriptTestBase</code></p> <pre>4x: The Drupal\FunctionalJavascriptTests\JavascriptTestBase is deprecated in Drupal 8.5.x and will be removed before Drupal 9.0.0. Instead, use Drupal\FunctionalJavascriptTests\WebDriverTestBase. See https://www.drupal.org/node/2945059<br><br>1x in ClassLoader::loadClass from Composer\Autoload<br>1x in ToolbarTest::testToolbarOnFrontPage from webprofiler\FunctionalJavascript<br>1x in ToolbarTest::testToolbarReportPage from webprofiler\FunctionalJavascript<br>1x in ToolbarTest::testToolbarNotAppearsOnExcludedPath from webprofiler\FunctionalJavascript</pre><p>Change record: <a href="https://www.drupal.org/node/2945059">https://www.drupal.org/node/2945059</a></p> > Related issue: [Issue #3042575](https://www.drupal.org/node/3042575)
issue