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

Method LookupSession

cpp/webdriver-server/server.cc:464–474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464bool Server::LookupSession(const std::string& session_id,
465 SessionHandle* session_handle) {
466 LOG(TRACE) << "Entering Server::LookupSession";
467
468 SessionMap::iterator it = this->sessions_.find(session_id);
469 if (it == this->sessions_.end()) {
470 return false;
471 }
472 *session_handle = it->second;
473 return true;
474}
475
476int Server::SendResponseToClient(struct mg_connection* conn,
477 const struct mg_request_info* request_info,

Callers 1

DispatchCommandMethod · 0.95

Calls 3

findMethod · 0.80
endMethod · 0.80
LOGClass · 0.70

Tested by

no test coverage detected