public function getHistory() { return $this->history; }
protected function debugResponse() { $this->debugSection('Response', $this->getResponseStatusCode()); $this->debugSection('Page', $this->client->getHistory()->current()->getUri()); $this->debugSection('Cookies', $this->client->getInternalRequest()->getCookies()); $this->debugSection('Headers', $this->client->getInternalResponse()->getHeaders()); }