pub async fn find_iframe_rect_by_src(
page: &Page,
pattern: &str,
) -> Result<Option<(f64, f64, f64, f64)>>Expand description
Find the bounding rect (left, top, width, height) of the first iframe
whose src contains pattern.
Evaluates in the main document only, no cross-origin frame piercing
required. Returns None when no matching iframe is found.