| Index: chrome/test/webdriver/commands/find_element_commands.cc
|
| diff --git a/chrome/test/webdriver/commands/find_element_commands.cc b/chrome/test/webdriver/commands/find_element_commands.cc
|
| index 6ee01e662efcec20dcbccc07d2e47a95b2a39128..be830d752d49dde998c3f05b9ced822495bfe030 100644
|
| --- a/chrome/test/webdriver/commands/find_element_commands.cc
|
| +++ b/chrome/test/webdriver/commands/find_element_commands.cc
|
| @@ -111,8 +111,10 @@ void FindElementCommand::ExecutePost(Response* const response) {
|
| (result->GetType() == Value::TYPE_LIST &&
|
| static_cast<ListValue*>(result)->GetSize() > 0);
|
| } else if (error != kNoSuchElement) {
|
| - SET_WEBDRIVER_ERROR(response, "Internal error in find_element atom",
|
| - kInternalServerError);
|
| + SET_WEBDRIVER_SCREENSHOT_ERROR(response,
|
| + session_,
|
| + "Internal error in find_element atom",
|
| + kInternalServerError);
|
| return;
|
| }
|
|
|
|
|