3 namespace Drupal\FunctionalJavascriptTests;
6 * Runs a browser test using PhantomJS.
8 * Base class for testing browser interaction implemented in JavaScript.
10 abstract class LegacyJavascriptTestBase extends JavascriptTestBase {
15 public function assertSession($name = NULL) {
16 // Return a WebAssert that supports status code and header assertions.
17 return new JSWebAssert($this->getSession($name), $this->baseUrl);