Jump to content

Win 11 install failure


RDE
 Share

Go to solution Solved by ioa747,

Recommended Posts

I've been using AutoIt3 for a several years now with great success under Windows 10.

My computer had started giving quite a few problems that I was unable to deal with so I called in an expert to fix it. I was persuaded to "upgrade" to Windows 11. All my programs got wiped out. I downloaded json(2021.11.20).zip from a Subz post dated January 25, 2022: https://www.autoitscript.com/forum/topic/207426-how-to-download-a-udf/ and 
downloaded  WinHTTP UDF ("WinHttp.au3") from a link on a Danp2 post on the same page, https://github.com/dragana-r/autoit-winhttp.

But nothing I've been using before is working now. When trying to fire up Chrome, the console reports Port value is 9515 but when I run it, the Terminal window reports a variety of values, most recently 50874.

Running wd_demo.au3, puts the GUI up correctly, I switch to "Chrome browser" and click on "Run Demo!". There is a quick flash of window and a message box "Check logs". There was no WD_Console.log anywhere, the console report follows

Is the variable port number significant? Have a got all the supporting files needed? Is anyone able to point me where to go next? Help would be very much appreciated.


>"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" /ErrorStdOut "C:\Program Files (x86)\AutoIt3\Include\wd_demo.au3"    
_WD_Option ==> Success [0] : Parameters:   Option=errormsgbox   Value=False
_WD_Option ==> Success [0] : Parameters:   Option=OutputDebug   Value=False
_WD_UpdateDriver ==> Success [0 / 0] : DriverCurrent = 128.0.6613.84 : DriverLatest = 128.0.6613.84
> UpdateResult = False
_WD_Option ==> Success [0] : Parameters:   Option=Driver   Value=chromedriver.exe
_WD_Option ==> Success [0] : Parameters:   Option=Port   Value=9515
_WD_Option ==> Success [0] : Parameters:   Option=DriverParams   Value=--verbose --log-path="C:\Program Files (x86)\AutoIt3\Include\chrome.log"
_WD_CapabilitiesAdd ==> Success [0] : Successfully used [alwaysMatch]  with specified browser: chrome
_WD_CapabilitiesAdd ==> Success [0] : Successfully added capability
_WD_CapabilitiesAdd ==> Success [0] : Successfully added capability
_WD_CapabilitiesDump: JSON structure starts below: 1247
{
    "capabilities":{
        "alwaysMatch":{
            "goog:chromeOptions":{
                "w3c":true,
                "excludeSwitches":[
                    "enable-automation"
                ]
            }
        }
    }
}
_WD_CapabilitiesDump: JSON structure ends above.
> wd_demo.au3: _WD_Startup
_WD_GetFreePort ==> Success [0 / 9515] : Parameters:   MinPort=9515   MaxPort=Default
_WD_IsLatestRelease ==> Success [0] : True
_WD_Startup: OS:    WIN_11 X64 22631 
_WD_Startup: AutoIt:    3.3.16.1
_WD_Startup: Webdriver UDF:    1.3.1 (Up to date)
_WD_Startup: WinHTTP:    1.6.4.2
_WD_Startup: Driver:    chromedriver.exe (64 Bit)
_WD_Startup: Params:    --verbose --log-path="C:\Program Files (x86)\AutoIt3\Include\chrome.log"
_WD_Startup: Port:    9515
_WD_Startup: Command:    "chromedriver.exe" --verbose --log-path="C:\Program Files (x86)\AutoIt3\Include\chrome.log" 
_WD_Startup ==> General Error [1] : Error launching WebDriver!
! Error = 1 occurred on: Demo
! _WD_LastHTTPResult = 0
! _WD_LastHTTPResponse = 
_WD_GetSession ==> Success [0]
! _WD_GetSession = 
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...