For a simple test code like this, it doesn't work
Code: Select all
oChrome := ChromeGet() ; Object for Chrome
MsgBox % " " oChrome.Url
return
; Connect with Chrome Function
ChromeGet(IP_Port := "127.0.0.1:9222") {
oChrome := ComObjCreate("Selenium.ChromeDriver")
oChrome.SetCapability("debuggerAddress", IP_Port)
oChrome.Start()
return oChrome
}
The errors looks like this:
https://imgur.com/SySISbZ
https://imgur.com/sKUH7CF
https://imgur.com/WGsmjWG
Note the port changes itself every time I try to connect to
I have already set the shortcut to chrome like this
Code: Select all
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "--remote-debugging-port=9222"
and have tried another format like this:
Code: Select all
"C:\Program Files (x86\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 -- "%1")
"C:\Program Files (x86\Google\Chrome\Application\chrome.exe" -remote-debugging-port=9222")
But none seem to work
I already have Selenium Installed, .NET 3.5 Framework enabled, Latest Chrome Driver but it seems to be another thing
Any tips, suggestions or recommendations are welcome! Many Thanks!