Update fccs_export.py
add some context in comments
This commit is contained in:
@@ -104,6 +104,7 @@ def navigate_to_drawer(main, drawer_id, ctrl, timeouts, log):
|
|||||||
main.child_window(title=ctrl["go_button_title"], class_name="Button").click()
|
main.child_window(title=ctrl["go_button_title"], class_name="Button").click()
|
||||||
|
|
||||||
deadline = time.time() + timeouts["nav"]
|
deadline = time.time() + timeouts["nav"]
|
||||||
|
# Whatever drawer your are actively on becomes the actual name of the App Window. We are checking that again to make sure we found the drawer.
|
||||||
while time.time() < deadline:
|
while time.time() < deadline:
|
||||||
title = main.window_text()
|
title = main.window_text()
|
||||||
if f"[{drawer_id}" in title:
|
if f"[{drawer_id}" in title:
|
||||||
|
|||||||
Reference in New Issue
Block a user