"""pytest 路径配置:将 examples/real_browser_rpa/scripts 加入 import 路径。""" from __future__ import annotations import sys from pathlib import Path SCRIPTS = Path(__file__).resolve().parents[1] / "scripts" if str(SCRIPTS) not in sys.path: sys.path.insert(0, str(SCRIPTS))