public function getCookies() { $command = new Commands\Command($this->_driver, 'get_cookies'); $results = $command->execute(); return Cookie::buildFromArray($results['value']); }