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

Method IsValidWindow

cpp/iedriver/HtmlDialog.cpp:102–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102bool HtmlDialog::IsValidWindow() {
103 LOG(TRACE) << "Entering HtmlDialog::IsValidWindow";
104 // If the window handle is no longer valid, the window is closing,
105 // and we must post the quit message.
106 if (!::IsWindow(this->GetTopLevelWindowHandle())) {
107 this->is_navigating_ = false;
108 this->DetachEvents();
109 this->PostQuitMessage();
110 return false;
111 }
112 return true;
113}
114
115bool HtmlDialog::SetFullScreen(bool is_full_screen) {
116 return false;

Callers 1

WaitMethod · 0.95

Calls 4

DetachEventsMethod · 0.95
PostQuitMessageMethod · 0.80
LOGClass · 0.50

Tested by

no test coverage detected