Cannot read properties of undefined

I have an issue with steering WebViews, always getting this error:

javascript error: Cannot read properties of undefined (reading ‘readOnly’)
(Session info: chrome=131.0.6778.39)
(Driver info: chromedriver=131.0.6778.85 (3d81e41b6f3ac8bcae63b32e8145c9eb0cd60a2d-refs/branch-heads/6778@{#2285}),platform=Mac OS X 14.0.0 arm64)

Could the new chromedriver be the reason for this issue? Test cases were running fine like 4 weeks earlier and on app side nothing changed. I am able to steer the native part. Happy for any hints or solution :slight_smile:

#Android #realdevice #SamsungS23

This is such a common error in JavaScript/TypeScript that it’s hard to give good advice. Maybe read through some commonly available solutions?

Thanks for the reply. Meanwhile I have downgraded the systems WebView Version to 118, which works without any issues. So the new WebView version was causing the issue…

1 Like