From b1bb3c24490a0a658bd2540d330f3c478b4f12b1 Mon Sep 17 00:00:00 2001 From: Yuriy Date: Wed, 22 May 2024 23:52:32 -0400 Subject: [PATCH] gui updates, odysee small bug fix --- Modules/Odysee-Schedule.ahk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Modules/Odysee-Schedule.ahk b/Modules/Odysee-Schedule.ahk index 9432825..5b872ba 100644 --- a/Modules/Odysee-Schedule.ahk +++ b/Modules/Odysee-Schedule.ahk @@ -232,7 +232,7 @@ if(LivestreamThumbnail != ""){ Message = Submitting Livestream SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging") -; Click Create Button in the confirmation popup +; Click Create Button at bottom of the screen Xpath = //span[contains(text(),'Create')] Status := Selenium_LoopToClickXpath(Xpath:=Xpath,NumOfLoops:=5,SleepLength:=1000) if(Status){ @@ -241,8 +241,10 @@ if(Status){ Return } +sleep, 1000 + ; Click confirm button in the popup -Xpath = //button[@aria-label='Confirm']//span[@class='button__content'] +Xpath = //span[contains(text(),'Confirm')] Status := Selenium_LoopToClickXpath(Xpath:=Xpath,NumOfLoops:=5,SleepLength:=1000) if(Status){ Message = Failed to click "Confirm" button in confirmation popup