Index: chrome/test/chromedriver/chrome_launcher.cc |
diff --git a/chrome/test/chromedriver/chrome_launcher.cc b/chrome/test/chromedriver/chrome_launcher.cc |
index 1592c2913c813c10936865934ba31f80edf66884..a979be476733f657dfef7677421a275c9710c464 100644 |
--- a/chrome/test/chromedriver/chrome_launcher.cc |
+++ b/chrome/test/chromedriver/chrome_launcher.cc |
@@ -222,8 +222,9 @@ Status WaitForDevToolsAndCheckVersion( |
"--disable-build-check. Please don't report bugs that " |
"cannot be reproduced with this switch removed."; |
} else if (browser_info->build_no < kMinimumSupportedChromeBuildNo) { |
- return Status(kUnknownError, "Chrome version must be >= " + |
- GetMinimumSupportedChromeVersion()); |
+ return Status( |
+ kSessionNotCreatedException, |
+ "Chrome version must be >= " + GetMinimumSupportedChromeVersion()); |
} |
while (base::TimeTicks::Now() < deadline) { |