Jump to content

Webdriver UDF (Getting a better error description after _WD_CreateSession)


Recommended Posts

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 by NassauSky
Showing actual debug response
Link to comment
Share on other sites

  • NassauSky changed the title to Webdriver UDF (Getting a better error description after _WD_CreateSession)

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...