You might be able to get the frame of the HTML element, by executing some JS code using https://developer.apple.com/documentation/webkit/wkwebview/1415017-evaluatejavascript
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: