Danp2 / au3WebDriver

Web Driver UDF for AutoIt
MIT License
107 stars 21 forks source link

__WD_ErrHnd added notification to __WD_Error #513

Open mlipok opened 6 months ago

mlipok commented 6 months ago

Pull request

Proposed changes

__WD_ErrHnd should do some notification to __WD_Error

Checklist

Types of changes

What is the current behavior?

no information about COM Error reasons.

What is the new behavior?

__WD_ErrHnd added notification to __WD_Error

Influences and relationship to other functionality

none

Additional context

https://github.com/Danp2/au3WebDriver/pull/512

System under test

not related

mlipok commented 4 months ago

btw. please also take a look on: __WD_ErrHnd() >> $_WD_ERROR_GeneralError

I think we can not put different error number than defined in UDF.

Because it is used here: https://github.com/Danp2/au3WebDriver/blob/3cc6ce35eb388230da29d027392a832604187c99/wd_core.au3#L1670

For this reason propse this change.