diff --git a/src/Behat/Mink/Driver/BrowserKitDriver.php b/src/Behat/Mink/Driver/BrowserKitDriver.php index 60fffe6..00ebeda 100644 --- a/src/Behat/Mink/Driver/BrowserKitDriver.php +++ b/src/Behat/Mink/Driver/BrowserKitDriver.php @@ -926,7 +926,7 @@ private function getCrawler() $crawler = $this->client->getCrawler(); if (null === $crawler) { - throw new DriverException('Crawler can\'t be initialized. Did you started driver?'); + throw new DriverException('Unable to access the response content before visiting a page'); } return $crawler;