Install Node.js
Install Node.js 18 or higher.
Set up WebDriverAgent
Before getting started, you need to set up the iOS development environment:
- macOS (required for iOS development)
- Xcode and Xcode command line tools
- iOS Simulator or real device
Configure WebDriverAgent
Before using Midscene iOS, you need to prepare the WebDriverAgent service.
Version Requirement
WebDriverAgent version must be >= 7.0.0
Please refer to the official documentation for setup:
- Simulator Configuration: Run Prebuilt WDA
- Real Device Configuration: Real Device Configuration
Verify WebDriverAgent
After completing the configuration, you can verify whether the service is working properly by accessing WebDriverAgent's status endpoint:
Access URL: http://localhost:8100/status
Correct Response Example:
If you can successfully access this endpoint and receive a similar JSON response as shown above, it indicates that WebDriverAgent is properly configured and running.

