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

Method GetCommandHandler

cpp/iedriver/CommandHandlerRepository.cpp:98–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98CommandHandlerHandle CommandHandlerRepository::GetCommandHandler(const std::string& command_name) {
99 CommandHandlerMap::const_iterator found_iterator =
100 this->command_handlers_.find(command_name);
101
102 if (found_iterator == this->command_handlers_.end()) {
103 return NULL;
104 }
105
106 return found_iterator->second;
107}
108
109void CommandHandlerRepository::PopulateCommandHandlers() {
110 LOG(TRACE) << "Entering CommandHandlerRepository::PopulateCommandHandlers";

Callers 1

DispatchCommandMethod · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected