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

Method AddCommand

cpp/webdriver-server/server.cc:273–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273void Server::AddCommand(const std::string& url,
274 const std::string& http_verb,
275 const std::string& command_name) {
276 if (this->commands_.find(url) == this->commands_.end()) {
277 this->commands_[url] = std::shared_ptr<UriInfo>(
278 new UriInfo(url, http_verb, command_name));
279 } else {
280 this->commands_[url]->AddHttpVerb(http_verb, command_name);
281 }
282}
283
284void Server::ShutDownSession(const std::string& session_id) {
285 LOG(TRACE) << "Entering Server::ShutDownSession";

Callers 2

IEServerMethod · 0.80

Calls 3

findMethod · 0.80
endMethod · 0.80
AddHttpVerbMethod · 0.80

Tested by

no test coverage detected