Configuring iOS devices and macOS machines for testing Safari iOS

This feature is on-demand support

This section describes essential configurations needed to ensure that automated tests on Safari iOS run successfully and stably.

Prior to automating with TestArchitect, the following configurations must be set.

  • On your iOS test device: Turning on Web Inspector is the most crucial configuration for automating Safari:

    1. Tap Settings > Safari > Advanced.

    2. Turn on Web Inspector.

  • On your iOS test device: Disabling Auto-Lock ensures that your device does not automatically lock its display while the automated test is running, which would cause the test to fail:

    1. Tap Settings > General > Auto-Lock.

    2. Select the Never option.

  • On your macOS machine: Give permissions to the lockdown folder with the following command:

    sudo chmod -R 777 /var/db/lockdown
    

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