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

Method PostQuitMessage

cpp/iedriver/DocumentHost.cpp:282–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282void DocumentHost::PostQuitMessage() {
283 LOG(TRACE) << "Entering DocumentHost::PostQuitMessage";
284
285 LPSTR message_payload = new CHAR[this->browser_id_.size() + 1];
286 strcpy_s(message_payload, this->browser_id_.size() + 1, this->browser_id_.c_str());
287 ::PostMessage(this->executor_handle(),
288 WD_BROWSER_QUIT,
289 NULL,
290 reinterpret_cast<LPARAM>(message_payload));
291}
292
293HWND DocumentHost::FindContentWindowHandle(HWND top_level_window_handle) {
294 LOG(TRACE) << "Entering DocumentHost::FindContentWindowHandle";

Callers 3

OnQuitMethod · 0.80
CloseMethod · 0.80
IsValidWindowMethod · 0.80

Calls 3

executor_handleMethod · 0.95
LOGClass · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected