|
|
@ -2,6 +2,7 @@
|
|
|
|
;------------------------------------------------
|
|
|
|
;------------------------------------------------
|
|
|
|
; Selenium Related Functions
|
|
|
|
; Selenium Related Functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
global MouseClicksSaved
|
|
|
|
|
|
|
|
|
|
|
|
ShowSeleniumErrorMsgbox(){
|
|
|
|
ShowSeleniumErrorMsgbox(){
|
|
|
|
|
|
|
|
|
|
|
@ -670,6 +671,7 @@ Selenium_LoopToClickID(IDName,NumOfLoops:=1,SleepLength:=1000){
|
|
|
|
sleep, %SleepLength%
|
|
|
|
sleep, %SleepLength%
|
|
|
|
Continue
|
|
|
|
Continue
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
MouseClicksSaved += 1
|
|
|
|
Return
|
|
|
|
Return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -685,6 +687,7 @@ Selenium_LoopToClickName(ElementName,NumOfLoops:=1,SleepLength:=1000){
|
|
|
|
sleep, %SleepLength%
|
|
|
|
sleep, %SleepLength%
|
|
|
|
Continue
|
|
|
|
Continue
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
MouseClicksSaved += 1
|
|
|
|
Return
|
|
|
|
Return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -744,6 +747,7 @@ Selenium_LoopToClickXpath(Xpath,NumOfLoops:=1,SleepLength:=1000){
|
|
|
|
sleep, %SleepLength%
|
|
|
|
sleep, %SleepLength%
|
|
|
|
Continue
|
|
|
|
Continue
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
MouseClicksSaved += 1
|
|
|
|
Return
|
|
|
|
Return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -769,6 +773,7 @@ Selenium_LoopToClickXpathAndWaitForOpenWindow(Xpath,NumOfLoops:=1,SleepLength:=1
|
|
|
|
sleep, %SleepLength%
|
|
|
|
sleep, %SleepLength%
|
|
|
|
Continue
|
|
|
|
Continue
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
MouseClicksSaved += 1
|
|
|
|
Return
|
|
|
|
Return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|