flutter_probe_agent 0.5.1
flutter_probe_agent: ^0.5.1 copied to clipboard
On-device E2E test agent for FlutterProbe. Embeds in your Flutter app and receives test commands via WebSocket or HTTP from the probe CLI. Write tests in plain English, execute with sub-50ms widget-tr [...]
Changelog #
0.5.1 #
- HTTP POST endpoint (
POST /probe/rpc) — stateless fallback transport for physical devices - WiFi testing mode (
PROBE_WIFI=true) — binds to0.0.0.0for network access - Pre-shared restart token — enables
restart the appover WiFi without USB - Direct
onTapfallback forSemantics-wrapped widgets on physical devices - Unique pointer IDs for synthetic gestures (prevents collision with real touches)
sendFnsetter onProbeExecutorfor HTTP request routing
0.5.0 #
- Profile mode support —
ProbeAgent.start()works in profile builds - Release mode safeguards — blocked by default, opt-in via
allowReleaseBuild: true - WebSocket ping/pong keepalive (5s interval)
- Widget finder visibility filtering (Offstage, Visibility)
- Token file persistence for both iOS and Android
0.2.0 #
- Initial release with WebSocket server, JSON-RPC 2.0 protocol
- Widget finder: text, key, type, ordinal, positional selectors
- Touch gestures: tap, double tap, long press, swipe, scroll, drag
- Text input via TextEditingController
- Screenshot capture with base64 encoding
- Triple-signal UI synchronization
- Test recording engine
- Clipboard copy/paste
- URL launcher interception