| 1645 | } |
| 1646 | |
| 1647 | int IECommandExecutor::GetElementFindMethod(const std::string& mechanism, |
| 1648 | std::wstring* translation) const { |
| 1649 | LOG(TRACE) << "Entering IECommandExecutor::GetElementFindMethod"; |
| 1650 | |
| 1651 | ElementFindMethodMap::const_iterator found_iterator = |
| 1652 | this->element_find_methods_.find(mechanism); |
| 1653 | if (found_iterator == this->element_find_methods_.end()) { |
| 1654 | LOG(WARN) << "Unable to determine find method " << mechanism; |
| 1655 | return EUNHANDLEDERROR; |
| 1656 | } |
| 1657 | |
| 1658 | *translation = found_iterator->second; |
| 1659 | return WD_SUCCESS; |
| 1660 | } |
| 1661 | |
| 1662 | int IECommandExecutor::LocateElement(const ElementHandle parent_wrapper, |
| 1663 | const std::string& mechanism, |
no test coverage detected