MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / GetKeyDescription

Method GetKeyDescription

cpp/iedriver/InputManager.cpp:1313–1321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1311}
1312
1313std::wstring InputManager::GetKeyDescription(const wchar_t character) {
1314 std::wstring description = L"";
1315 description.append(1, character);
1316 std::map<wchar_t, std::wstring>::const_iterator it = this->key_descriptions_.find(character);
1317 if (it != this->key_descriptions_.end()) {
1318 description = it->second;
1319 }
1320 return description;
1321}
1322
1323void InputManager::SetupKeyDescriptions() {
1324 this->key_descriptions_[WD_KEY_NULL] = L"Unidentified";

Callers 3

ResetMethod · 0.95
AddKeyboardInputMethod · 0.95
UpdatePressedKeysMethod · 0.95

Calls 3

findMethod · 0.80
endMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected