From a845447f87bfaf7bfc949fad233b94ec92d0030b Mon Sep 17 00:00:00 2001 From: dat972 Date: Mon, 6 Jul 2026 22:48:50 -0500 Subject: [PATCH] updated how we select the search box --- fccs_export.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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"])