Check notify users checkbox

main 3.40
Yuriy 3 months ago
parent 4476bfdda6
commit dcd947b136

@ -1 +1 @@
Subproject commit 6bf72336d0af0aa57064fc40c267677bb27577f3
Subproject commit e654611bf3780c5a38ab700517fd34b6de78ebe2

@ -120,6 +120,17 @@ if(Status){
}
; make sure the "Notify Users" checkbox is selected
Xpath = (//input[contains(@name,'is_do_promo')])[1]
Status := Selenium_LoopToClickXpath(Xpath:=Xpath,NumOfLoops:=1,SleepLength:=1000)
try, Status := driver.findelementbyxpath(Xpath).isSelected()
if(Status = "0"){
Message = Failed to Check ON the Notify Users Checkbox
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar,DiscordErrorLogging")
}
; check if the "Auto Submit Post" checkbox is checked, and if not check it
js = return document.querySelector("#autosubmit_enabled").checked;
try AutoSubmitstatus := driver.executeScript(js)

Loading…
Cancel
Save