thqby / ahk2_lib

MIT License
197 stars 26 forks source link

Update Chrome.ahk (changed 'ErrorDetails' to 'exceptionDetails') #34

Closed yg-i closed 7 months ago

yg-i commented 7 months ago

per the documentation (https://chromedevtools.github.io/devtools-protocol/tot/Runtime/#method-evaluate), the property name is (has recently become?) 'exceptionDetails':

Changing to exceptionDetails allows this code to properly throw (as expected) rather than return the result object (unexpected)

Chrome().GetPage().Evaluate("aksdlakd")