Danp2 / au3WebDriver

Web Driver UDF for AutoIt
MIT License
108 stars 23 forks source link

_WD_FrameList - $bReturnAsArray fix #463

Closed mlipok closed 1 year ago

mlipok commented 1 year ago

Pull request

Proposed changes

If $bReturnAsArray=True then even if third __WD_FrameList_Internal iteration will fire error then it returs string which should be converted to array

Checklist

Types of changes

What is the current behavior?

if some __WD_FrameList_Internal iteration will fire error then string will be returned even if $bReturnAsArray=True was requested

What is the new behavior?

Proper Array

Additional context

I hit this error when testing: https://github.com/Danp2/au3WebDriver/pull/462

System under test

not related