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")