NassauSky Posted February 19 Share Posted February 19 (edited) Hi @Danp2 and all, How might I get a better textual error description rather than what I'm seeing: error 15 in the following code? $sSession = _WD_CreateSession($sDesiredCapabilities) If @error Then ConsoleWrite("Error Creating Session: " & @error & " Exiting." & @CRLF) MsgBox( $MB_TOPMOST, "Error Creating Session: ", & @error) Exit EndIf Here is what I'm getting trying to update the driver: _WD_GetBrowserPath ==> Success [0 / 0] : Parameters: Browser=Chrome _WD_GetBrowserVersion ==> Success [0 / 0] : Parameters: Browser=Chrome _WD_GetWebDriverVersion ==> Not found [13 / 0] : Parameters: Dir=C:\Apps\Autoit\Scripts\Statistics(Library002)\Tech\Bots\Required\ EXE=chromedriver.exe __WD_GetLatestWebdriverInfo ==> Success [0 / 0] _WD_DownloadFile ==> Not found [13 / 0] : Parameters: URL=https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/121.0.6167.184/win32/chromedriver-win32.zip Dest=C:\Users\Nassau\AppData\Local\Temp\webdriver_dfpgkrh.zip Options=Default _WD_UpdateDriver ==> Not found [13 / 0] : DriverCurrent = 0 : DriverLatest = 121.0.6167.184 _WD_LastHTTPResponse: @@ Debug(2508) : $wasWDupdated = False >Error code: 13 Thanks Edited February 19 by NassauSky Showing actual debug response Link to comment Share on other sites More sharing options...
Danp2 Posted February 19 Share Posted February 19 You could try something like this, but I'm not sure that you will be any happier with the result -- ConsoleWrite("Error Creating Session: " & $aWD_ERROR_DESC[@error] & " Exiting." & @CRLF) FYI, there is a pending patch to deal with Google once again changing the Chromedriver location. NassauSky 1 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
NassauSky Posted February 19 Author Share Posted February 19 @Danp2 Wow you're fast. The update in your UDF to the ChromeDriver location worked. Thanks!! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now