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

Method RemoveManagedElement

cpp/iedriver/AsyncScriptExecutor.cpp:323–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321}
322
323void AsyncScriptExecutor::RemoveManagedElement(const std::string& element_id) {
324 LOG(TRACE) << "Entering AsyncScriptExecutor::RemoveManagedElement";
325 this->element_repository_->RemoveManagedElement(element_id);
326
327 // Simply forward on the request to remove the element from the
328 // main element repository. We shouldn't need to worry about waiting
329 // for the removal to be processed; it should be scheduled to happen
330 // before the next command can arrive.
331 ElementInfo* info = new ElementInfo;
332 info->element_id = element_id.c_str();
333 ::PostMessage(this->main_element_repository_handle_,
334 WD_ASYNC_SCRIPT_SCHEDULE_REMOVE_MANAGED_ELEMENT,
335 NULL,
336 reinterpret_cast<LPARAM>(info));
337}
338
339void AsyncScriptExecutor::GetElementIdList(const Json::Value& json_object) {
340 LOG(TRACE) << "Entering AsyncScriptExecutor::GetElementIdList";

Callers

nothing calls this directly

Calls 1

LOGClass · 0.50

Tested by

no test coverage detected