diff --git a/fccs_export.py b/fccs_export.py index 33a0177..6b3d477 100755 --- a/fccs_export.py +++ b/fccs_export.py @@ -95,10 +95,11 @@ def connect_main(ctrl, log): def navigate_to_drawer(main, drawer_id, ctrl, timeouts, log): """Type the drawer ID into the search box and click Go.""" - box = main.child_window(title=ctrl["drawer_box_title"], class_name="Edit") + # Use best_match name "Edit" instead of title — the title is placeholder + # text that changes once the user types in the box. + box = main["Edit"] box.wait("visible ready", timeout=timeouts["nav"]) - box.select() box.set_edit_text("") box.set_edit_text(drawer_id) time.sleep(timeouts["settle"])