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

Method ScriptWaitThreadProc

cpp/iedriver/IECommandExecutor.cpp:900–906  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

898}
899
900unsigned int WINAPI IECommandExecutor::ScriptWaitThreadProc(LPVOID lpParameter) {
901 LOG(TRACE) << "Entering IECommandExecutor::ScriptWaitThreadProc";
902 HWND window_handle = reinterpret_cast<HWND>(lpParameter);
903 ::Sleep(SCRIPT_WAIT_TIME_IN_MILLISECONDS);
904 ::PostMessage(window_handle, WD_SCRIPT_WAIT, NULL, NULL);
905 return 0;
906}
907
908unsigned int WINAPI IECommandExecutor::DelayPostMessageThreadProc(LPVOID lpParameter) {
909 LOG(TRACE) << "Entering IECommandExecutor::DelayPostMessageThreadProc";

Callers

nothing calls this directly

Calls 1

LOGClass · 0.50

Tested by

no test coverage detected