From 060c5cc5369df42f5d311b24603d20d6cd4a359a Mon Sep 17 00:00:00 2001 From: Lukas Ruzicka Date: Tue, 21 Mar 2023 12:01:41 +0100 Subject: [PATCH] Update subroutine to deal with web browser. --- lib/desktoptools.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/desktoptools.pm b/lib/desktoptools.pm index adc4003a..6272e861 100644 --- a/lib/desktoptools.pm +++ b/lib/desktoptools.pm @@ -53,6 +53,10 @@ sub check_application_information { # Check, that the webpage has opened with correct information. assert_screen("software_weblink_$application"); assert_screen("software_webcontent_$application"); + + # Close the browser + send_key("alt-f4"); + wait_still_screen(2); } # This subroutine installs an application via the