Google Chrome: Unable to identify web controls or run automated tests because modal dialog boxes appear

Problem

During web automation or web UI control identification, you are using Google Chrome 52 or later. You discover that when modal JavaScript popup boxes appear, your automated test fails to proceed, or you are no longer able to identify other UI controls via the Interface Viewer.

Solution

This issue happens because Chrome has stopped supporting animations while modal dialog boxes are shown since Chrome version 52 (learn more). To resolve this issue, do the following:


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400