Skip to main content
IOSPortalHttpDriver connects to the local server started by mobilerun-ios --local. Import it from mobilerun_core_local.

IOSPortalHttpDriver

Start the local server before creating the driver:
The server uses WebDriverAgent. Taps and gestures use logical iOS points. Screenshots may use a different pixel size; input_coordinate_size() returns the correct input dimensions.

Constructor

  • url is the server base URL, normally http://127.0.0.1:8080.
  • token is optional for a loopback server. It must match --local-token when the server requires authentication.
  • A 401 or 403 during connection raises PermissionError with token guidance.

Supported methods

uninstall_app() raises PlatformUnsupportedError. drag() raises NotImplementedError; use swipe() instead.

Methods

Direct usage


See Also