fixed chrome/chromedriver downloading

This commit is contained in:
2023-10-22 00:28:38 -04:00
parent 1962743565
commit 0b9b63b715
2 changed files with 8 additions and 2 deletions

View File

@@ -1,6 +1,12 @@
URLDownloadToVar(url){
hObject:=ComObjCreate("WinHttp.WinHttpRequest.5.1")
hObject.Open("GET",url)
hObject.Send()
try hObject.Send()
catch e {
return ""
; msgbox, failed!
}
return hObject.ResponseText
}