From 19340c52ae0f647df89d5c1909f7765530ff7aaf Mon Sep 17 00:00:00 2001 From: j-lin-lmg <167900848+j-lin-lmg@users.noreply.github.com> Date: Wed, 1 Oct 2025 14:48:22 -0700 Subject: [PATCH] Update tlou2.py (#166) extra presses for new menus --- the_last_of_us_part_ii/tlou2.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/the_last_of_us_part_ii/tlou2.py b/the_last_of_us_part_ii/tlou2.py index 7c62b4b..9975c1b 100644 --- a/the_last_of_us_part_ii/tlou2.py +++ b/the_last_of_us_part_ii/tlou2.py @@ -131,6 +131,8 @@ def run_benchmark(keras_service: KerasService) -> tuple: time.sleep(0.3) + user.press("space") + if keras_service.wait_for_word(word="continue", timeout=5, interval=0.2) is None: user.press("down") else: @@ -242,7 +244,7 @@ def navigate_settings(am: ArtifactManager, keras: KerasService) -> None: am.take_screenshot("graphics3.png", ArtifactType.CONFIG_IMAGE, "graphics settings 3") # is at the bottom of the menu - press_n_times("up", 12) + press_n_times("up", 13) find_word(keras, "scattering", "Couldn't find scattering")