Skip to content

Programmatic automation support (network speed, push notifications, deep links) #946

@svaithia

Description

@svaithia

Is your feature request related to a problem? Please describe.
I wish there was a way to integrate RocketSim actions into automated testing or CI/CD workflows, but there is no programmatic way to trigger them. For example, I cannot script RocketSim to switch the network speed profile, trigger a push notification, or fire a deep link as part of a test run — I have to do it manually through the GUI every time. This makes it difficult to build reproducible, hands-free test environments that leverage RocketSim's powerful features.

Describe the solution you'd like
I would like RocketSim to expose a URL scheme (e.g. rocketsim://) that allows external scripts, tools, and CI pipelines to trigger common RocketSim actions programmatically.
For example:

  • rocketsim://network-speed?profile=3g — Set the network speed to a given profile
  • rocketsim://push-notification?bundleId=com.example.app&payload= — Send a push notification to a specific app
  • rocketsim://deep-link?url=myapp://home — Trigger a saved or ad-hoc deep link in the simulator
  • rocketsim://relaunch?bundleId=com.example.app — Relaunch the app

This would allow developers to call these actions from shell scripts, Fastlane lanes, Xcode test plans, or any other automation tool, for example:
Bash

open "rocketsim://network-speed?profile=3g"
run tests...
open "rocketsim://network-speed?profile=off"

Describe alternatives you've considered

  • xcrun simctl: This covers some use cases (push notifications, deep links) but does not support RocketSim-specific features like per-app network speed throttling or design comparison toggles.
  • UI scripting via AppleScript / Keyboard Maestro: It is possible to simulate keyboard shortcuts to trigger RocketSim actions indirectly, but this is brittle, depends on screen focus, and does not work reliably in headless or remote environments.
  • RocketSim Connect: This framework enables communication from the simulated app back to RocketSim, but it does not allow external scripts or tools to drive the RocketSim UI.

Additional context
A URL scheme is a lightweight, macOS-native integration point that many developer tools already support (e.g. Xcode, Tower, Simulator). It would not require any new UI and would be straightforward to invoke from any scripting environment. Even a small initial set of supported actions — such as network speed control and push notifications — would unlock significant automation value for teams running UI tests or building developer tooling on top of RocketSim.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions