Index: chrome/test/webdriver/commands/webdriver_command.cc |
diff --git a/chrome/test/webdriver/commands/webdriver_command.cc b/chrome/test/webdriver/commands/webdriver_command.cc |
index 3220316985ed8488ebddb9058e6bddd03b8e54a4..eed1d11cec0684e7f89c6c8b817e1f38f7f129b9 100644 |
--- a/chrome/test/webdriver/commands/webdriver_command.cc |
+++ b/chrome/test/webdriver/commands/webdriver_command.cc |
@@ -50,4 +50,12 @@ bool WebDriverCommand::Init(Response* const response) { |
return true; |
} |
+void WebDriverCommand::Finish() { |
+ scoped_ptr<Error> error(session_->AfterExecuteCommand()); |
+ if (error.get()) { |
+ LOG(WARNING) << "Command did not finish successfully: " |
+ << error->GetErrorMessage(); |
+ } |
+} |
+ |
} // namespace webdriver |