From a6dc3e00e9e949b68ea8f1e3bcc719ea47e7af4a Mon Sep 17 00:00:00 2001 From: yuriy Date: Sun, 26 Jan 2025 20:54:15 -0500 Subject: [PATCH] Force a Media Manager logout and log back in everytime --- Modules/Podcast-Upload.ahk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Modules/Podcast-Upload.ahk b/Modules/Podcast-Upload.ahk index 1a3eb28..bf11141 100644 --- a/Modules/Podcast-Upload.ahk +++ b/Modules/Podcast-Upload.ahk @@ -117,6 +117,11 @@ if(Status){ } +; Click on logout button to force a logout. Sometimes the page shows logged in even though cookies have expired? +Xpath = //span[contains(text(),'Logout')] +Status := Selenium_LoopToClickXpath(Xpath:=Xpath,NumOfLoops:=2,SleepLength:=1000) + + Message = Logging in SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile")