| 561 | } |
| 562 | |
| 563 | int 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 | |
| 572 | int Element::GetAttributeValue(const std::string& attribute_name, |
| 573 | VARIANT* attribute_value) { |
no test coverage detected