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

Method GetStaticClickLocation

cpp/iedriver/Element.cpp:563–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

561}
562
563int Element::GetStaticClickLocation(LocationInfo* click_location) {
564 std::vector<LocationInfo> frame_locations;
565 LocationInfo element_location = {};
566 int result = this->GetLocation(&element_location, &frame_locations);
567 bool document_contains_frames = frame_locations.size() != 0;
568 *click_location = this->CalculateClickPoint(element_location, document_contains_frames);
569 return result;
570}
571
572int Element::GetAttributeValue(const std::string& attribute_name,
573 VARIANT* attribute_value) {

Callers 1

PointerMoveToMethod · 0.80

Calls 3

GetLocationMethod · 0.95
CalculateClickPointMethod · 0.95
sizeMethod · 0.45

Tested by

no test coverage detected