Index: chrome/test/webdriver/commands/create_session.cc |
diff --git a/chrome/test/webdriver/commands/create_session.cc b/chrome/test/webdriver/commands/create_session.cc |
index d673ead647d63fe13a4afa0bfe76dc497e91ecbb..b76760b8dfcc7f169380a328e3331dff535c5b36 100644 |
--- a/chrome/test/webdriver/commands/create_session.cc |
+++ b/chrome/test/webdriver/commands/create_session.cc |
@@ -197,6 +197,10 @@ void CreateSession::ExecutePost(Response* const response) { |
error = GetBooleanCapability(capabilities, "chrome.loadAsync", |
&session_options.load_async); |
} |
+ if (!error) { |
+ error = GetBooleanCapability(capabilities, "chrome.detach", |
+ &browser_options.detach_process); |
+ } |
if (error) { |
response->SetError(error); |
return; |