"""Selector común para BU (Business Unit)."""
from __future__ import annotations

from pathlib import Path
from playwright.sync_api import Page

from ...core import bu_select


def select_bu(page: Page, cfg, run_dir: Path, *, target_bu: str, tag_prefix: str = "bu") -> None:
    """
    Wrapper de alto nivel para seleccionar BU usando core.bu_select.
    """
    bu_select.run(page, cfg, run_dir, target_bu=target_bu, tag_prefix=tag_prefix)
