Page 1 of 1

Windows 11 Chrome.ahk not connecting to port 9222

Posted: 11 Apr 2022, 13:49
by HeXaDeCiMaToR
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.

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)
}

Re: Windows 11 Chrome.ahk not connecting to port 9222

Posted: 11 Apr 2022, 14:19
by gregster
I have moved it to "Tips and Tricks", but an additional reference in the main Chrome.ahk topic by geek (formerly known as GeekDude) would probably be useful.

Re: Windows 11 Chrome.ahk not connecting to port 9222

Posted: 11 Apr 2022, 14:27
by HeXaDeCiMaToR
gregster wrote:
11 Apr 2022, 14:19
I have moved it to "Tips and Tricks", but an additional reference in the main Chrome.ahk topic by geek (formerly known as GeekDude) would probably be useful.
Thank you :D