public function execute(Commands\Command $command, $trace = false) { $response = parent::execute($command, $trace); $this->validateSeleniumResponseCode($response, $command->getPolling()); $this->validateHttpCode($response, $command->getPolling()); return $response; }