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

Method AddAdditionalData

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

Source from the content-addressed store, hash-verified

103}
104
105void Response::AddAdditionalData(const std::string& data_name,
106 const std::string& data_value) {
107 LOG(TRACE) << "Entering Response::AddAdditionalData";
108 if (this->additional_data_.isNull()) {
109 Json::Value new_data;
110 this->additional_data_ = new_data;
111 }
112 this->additional_data_[data_name] = data_value;
113}
114
115std::string Response::GetSessionId(void) {
116 if (this->error_.size() == 0) {

Callers 2

DispatchCommandMethod · 0.80
DispatchCommandMethod · 0.80

Calls 2

isNullMethod · 0.80
LOGClass · 0.70

Tested by

no test coverage detected