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

Method GenerateOptionsList

cpp/webdriver-server/server.cc:162–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void Server::GenerateOptionsList(std::vector<const char*>* options) {
163 std::map<std::string, std::string>::const_iterator it = this->options_.begin();
164 for (; it != this->options_.end(); ++it) {
165 options->push_back(it->first.c_str());
166 options->push_back(it->second.c_str());
167 }
168 options->push_back(NULL);
169}
170
171int Server::OnNewHttpRequest(struct mg_connection* conn) {
172 mg_context* context = mg_get_context(conn);

Callers 1

StartMethod · 0.95

Calls 1

endMethod · 0.80

Tested by

no test coverage detected