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

Method FindTextBoxes

cpp/iedriver/Alert.cpp:654–663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

652}
653
654BOOL CALLBACK Alert::FindTextBoxes(HWND hwnd, LPARAM arg) {
655 std::vector<HWND>* dialog_handles = reinterpret_cast<std::vector<HWND>*>(arg);
656 std::vector<wchar_t> child_window_class(100);
657 ::GetClassName(hwnd, &child_window_class[0], 100);
658
659 if (wcscmp(&child_window_class[0], L"Edit") == 0) {
660 dialog_handles->push_back(hwnd);
661 }
662 return TRUE;
663}
664
665} // namespace webdriver

Callers

nothing calls this directly

Calls 1

GetClassNameClass · 0.85

Tested by

no test coverage detected