Since version 126.0.6465.0 ChromeDriver behaves according to W3C standard. Specifically:
Whenever active sessions is a list containing exactly one item, and that item is a HTTP session, but is not a BiDi session, then in the steps to fire beforeunload, implementations must act as if showing an unload prompt is likely to be annoying, deceptive, or pointless. This means that beforeunload prompts are never shown when there's an active HTTP-only session.
This is the mirror of https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
Using links from this JSON file you may download specific versions of Chrome that do not auto-update.
In Mobile Spy of Rapise when switching from NATIVE_APP to WEBVIEW context you may see an error message:
Chrome version must be >= 55.0.2883.0
From this article you will learn how to fix this.