Windows 11 Chrome.ahk not connecting to port 9222
Posted: 11 Apr 2022, 13:49
I don't know if this is the right place to post this (or if this is already posted), but I figured out the issue the Windows 11 Chrome.ahk not connecting to localhost:9222.
in the Chrome Class "GetPageList" all I did was add "/list" after "/json" in the "http.open" line. This works with Windows 10 as well if you haven't yet updated to 11.
in the Chrome Class "GetPageList" all I did was add "/list" after "/json" in the "http.open" line. This works with Windows 10 as well if you haven't yet updated to 11.
Code: Select all
GetPageList()
{
http := ComObjCreate("WinHttp.WinHttpRequest.5.1")
http.open("GET", "http://127.0.0.1:" this.DebugPort "/json/list")
http.send()
return this.Jxon_Load(http.responseText)
}