def find_matching_anchor(content: str, selector: str) -> str | None:
    """Find the anchor ID that matches the given selector description"""
    elements = parse_content_to_elements(content)

    # Clean up selector and create a pattern
    selector = selector.lower().strip()

    for anchor, description in elements.items():
        description = description.lower().strip()
        if selector in description:
            return anchor

    return None
Find the anchor ID that matches the given selector description
evaluation/benchmarks/the_agent_company/browsing.py