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

Method GetSessionId

cpp/webdriver-server/response.cc:115–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115std::string Response::GetSessionId(void) {
116 if (this->error_.size() == 0) {
117 return this->value_.get("sessionId", "").asString();
118 }
119 return "";
120}
121
122int Response::GetHttpResponseCode(void) {
123 int response_code = 200;

Callers 1

DispatchCommandMethod · 0.80

Calls 3

asStringMethod · 0.80
getMethod · 0.65
sizeMethod · 0.45

Tested by

no test coverage detected