Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BrowserKitDriver.php

function BrowserKitDriver::reset

Overrides CoreDriver::reset

1 call to BrowserKitDriver::reset()
BrowserKitDriver::stop in vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php
Stops driver.

File

vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php, line 109

Class

BrowserKitDriver
Symfony BrowserKit driver.

Namespace

Behat\Mink\Driver

Code

public function reset() {
    // Restarting the client resets the cookies and the history
    $this->client
        ->restart();
    $this->forms = array();
    $this->serverParameters = array();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal