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

Method IsKeyPressed

cpp/iedriver/InputManager.cpp:943–947  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

941}
942
943bool InputManager::IsKeyPressed(wchar_t character) {
944 return std::find(this->pressed_keys_.begin(),
945 this->pressed_keys_.end(),
946 character) != this->pressed_keys_.end();
947}
948
949void InputManager::UpdatePressedKeys(wchar_t character, bool press_key) {
950 std::wstring log_string = this->GetKeyDescription(character);

Callers 1

AddKeyboardInputMethod · 0.95

Calls 1

endMethod · 0.80

Tested by

no test coverage detected