The page consists of only one table and looks like this:
I use this script (taken from UrlDownloadToFile command documentation) to download that page:
Code: Select all
whr := ComObjCreate("WinHttp.WinHttpRequest.5.1")
whr.Open("GET", "https://web1.fyh.mohw.gov.tw/oinetregweb/OINetReg.Reg/Sub_RegTable.aspx", true)
whr.Send()
; Using 'true' above and the call below allows the script to remain responsive.
whr.WaitForResponse()
version := whr.ResponseText
MsgBox % version
clipboard := version
What's surprising is that when I try to inspect those elements using Google Chrome (by pressing F12 button), I still can see those names in the source page:
So it looks like the Chrome browser can see something that AHK UrlDownloadToFile command doesn't. How can I make AHK also see and, therefore, also download those names in the page source?