Unknown Error while running tests on Android devices through Ranorex

I am using Ranorex to run automation tests and while running tests on Android, I am getting this error :

unknown error: unhandled inspector error: {“code”:-32601,“message”:“‘Browser.setWindowBounds’ wasn’t found”} (Session info: chrome=83.0.4103.106) (Driver info: chromedriver=83.0.4103.14 (be04594a2b8411758b860104bc0a1033417178be-refs/branch-heads/4103@{#119}),platform=Linux 4.15.0-135-generic x86_64)

How do I resolve this ?

This happens when your Open browser step has the Maximized property set to true.

Please try setting the maximized property to false and then run the same test again. It should work fine without this error.

1 Like