Skip to main content

flutter_probe_agent 0.28.0 copy "flutter_probe_agent: ^0.28.0" to clipboard
flutter_probe_agent: ^0.28.0 copied to clipboard

On-device E2E test agent for FlutterProbe. Embeds in your Flutter app and executes test commands via direct widget-tree access.

Changelog #

[Unreleased] #

0.28.0 - 2026-11-26 #

  • Fixed: on an app that uses package:material_ui or cupertino_ui (Flutter 3.50+), is enabled passed on a disabled button: the agent reads the state from the classes of package:flutter/material.dart and cupertino.dart, and a control of the standalone packages has the same name but another class (issue #852). Until those packages are supported, is enabled, is disabled and is checked refuse ("cannot be evaluated"), negated steps too, when the target is, holds or is inside a control with the name of one the agent reads but not its class. The framework's own controls, and an app's own controls with other names, are read as before; an app class with one of those exact names is refused too. The rule goes by class names, so an --obfuscate release build does not refuse.

  • Fixed: is enabled passed on a disabled control when the id was on a wrapper around it (a keyed SizedBox, a KeyedSubtree, a Semantics(identifier: ...)), and don't see ... is disabled passed too (issue #860): the enabled reader looked at the target and its ancestors, never below. It now reads the target, then the first control it holds, then what holds it, as the checked reader does. A container whose id holds controls reads as them when they agree (all enabled, or all disabled), and refuses ("holds 2 controls that disagree") when they do not: put the id on the control to check.

  • Added: the probe.visible_summary answer has additive keys for a reader that must know it saw everything: editable_texts (the value of every visible, non-obscured field, recorded even when a Text with the same text is already in the de-duplicated texts), rich_texts (visible RichTexts that no Text and no Icon built), max, counts (distinct items seen per list) and truncated (a list saw more than max). texts and keys are unchanged, and so are the failure hints. An older CLI ignores the new keys.

  • Fixed: a tap on a widget inside an IgnorePointer passed with no warning while the tap did nothing (issue #842), so even --fail-on-warning passed. The hit test skips the widget and stops at a pointer handler around it (often the list's own scroll listener), which the agent took for a parent GestureDetector taking the tap. Such a tap now gets the warning tap target ... is inside an IgnorePointer, so it receives no taps. A passive label inside an IgnorePointer under a parent that takes the tap (a common button structure) still gives no warning.

  • Fixed: a widget found by its semantic label or tooltip read as empty text (issue #818). When no visible text matches, a text selector falls back to a Semantics label (an Icon or an Image with a semanticLabel) or a Tooltip message (an icon button), and the match is that Semantics or Tooltip element; the text read used by contains, matching and appears matching knew only Text, RichText and text fields, so see "Logo" contains "Logo" failed with contains "". Such a match now reads as its label or message. A text field under a labelled Semantics or a Tooltip still reads as the field's text, and an obscured one as nothing, as before. Changed for an element that is itself a labelled Semantics and has no text field below it, when it is the match (by #id on a Semantics(identifier:)): it reads as its label where it read as "" (Semantics(identifier: "tot", label: "Total label", child: Text("42.00")) found by #tot reads "Total label"; it never read "42.00"). Not changed: a widget found by #id whose only text is a tooltip reads as "" (the id match is the button).

  • Fixed: see exactly N "<text>" counted an ordinary Text twice (issue #800). A Text builds a RichText inside it, and both matched the text, so one Text was found 2 times; an ordinal (2nd "Row") could pick the first Text's inner RichText, and a text inside a container (see "x" in "y") was doubled too. A RichText built by a Text that also matches is now left out, so each visible text is one match: a Text, a Text.rich, a RichText of its own and a button's label each count once. Breaking for a suite that relied on the doubling: see exactly 2 for one Text now fails (assert the real count), and an ordinal that landed on the inner paragraph of a single Text (tap 2nd "8" where only one "8" is shown) now finds nothing (use tap "8").

  • Fixed: after a relaunch, a step could run on a screen laid out at 0×0. An app can draw its first frames with a 0×0 view for about a second after it starts (measured on an Android 15 emulator, about 1 to 1.2 s), and a ListView laid out then builds only its first child, so a see or tap right after restart the app saw half the screen (issue #793). The view's size changes the moment the engine reports it, but the widgets are laid out at it only in the next frame, and a request in between saw the 0×0 layout. The agent now records the size each frame was laid out at (from ProbeAgent.start), and every request first waits, at most 2.5 s, until a frame has been laid out at the view's real size. When it has, this is a synchronous check, with no await; after a resize (a rotation) a request waits for at most one frame. It never waits when the app has no view or is not in the foreground, and after one capped wait it does not wait again until the view's size changes (other metrics, such as keyboard insets, do not count). ProbeAgent.start() does not initialise the Flutter binding: an app may install its own binding after starting the agent. The frame callback is added when a binding exists: at start() if the app made it first, otherwise on the agent's first request under the app's binding. Under a test binding (frames only on pump) the agent keeps the earlier rule, as it already did for settling. Adding the callback never throws; until it is added, the earlier rule applies. probe.ping reports the wait in view_ready_ms (0 when none), and the capability waits_for_view_size is added. Both are for diagnostics: an older CLI ignores them.

  • Added: probe.ping and GET /probe/status also report app_id, the application id of the app the agent runs in: on Android the process name (/proc/self/cmdline, the package name unless the app sets android:process), else the build define PROBE_APP_ID. Left out when it is not a plain application id (dot-separated segments of letters, digits, _ and -, at most 255 characters); nothing is guessed. The status endpoint needs no token, like the version it reports.

  • Changed (breaking for a suite that asserts a password field's value): the value of an obscured field (obscureText: true, Material or Cupertino) is never a match target of any selector. A text selector used to match EditableText.controller.text of an obscured field, so see, wait until ... appears, tap and selector_bounds by the typed text, or by a prefix of it, found the field, which let a test learn the value one prefix at a time. The field is still found by its id, key, label or hint. A failure message on a screen that has an obscured field says "an obscured field's value is never searched", whatever was asked. A suite that asserts such a value with see "<value>" will now fail: that is the point; assert something the field does not hide (a label, a mirror of its length, or what the app does after the input).

  • Fixed: see "..." is checked read a radio under Flutter's RadioGroup API as never checked. Since that API the group value is kept by the RadioGroup above the radios, and the agent compared a radio's value with its own groupValue, which is null there. It now uses the radio's own group value when it has one (the older form still works, and wins over a group above it), else the group value of the nearest RadioGroup above it (nothing selected selects nothing), for Radio, RadioListTile and CupertinoRadio. When the radio has no group value of its own and no RadioGroup is found, or the group's value cannot be read, the answer is "not a checkable control", never a wrong yes or no. Limits: RadioGroup is found by its class name, so a build that renames classes (an obfuscated profile or release build) does not find it, which gives the "not a checkable control" answer; an app's own widget named RadioGroup that has a groupValue is read as a group. The tests of the real RadioGroup are in test_radiogroup/ and are run by hand (see its README).

  • Added: probe.ping also reports, when the app's build knows them, flutter_version, flutter_channel, framework_revision and dart_version: the Flutter and Dart that BUILT THE APP (the Flutter tool puts them into every app build as compile-time defines, which the agent reads directly), not the Flutter that published this package. Each is left out when unknown, empty or not plain version text (letters, digits, dots, dashes and plus signs, at most 64 characters); the Dart version falls back to the running VM's. An older CLI ignores the fields and an older agent sends none. A fork or a custom embedder can report values that are not the real ones.

  • Added: see #field is filled and see #field is empty (and their don't see forms): whether a text field holds at least one character. The check asks only whether the length is above zero, so the value is in no answer, error or hint, and an obscured (password) field is answered like any other. It looks at the matched widget and below it, never at an ancestor or a sibling, so a label next to a field cannot be mistaken for it; a widget that is not exactly one text field (a label, a button, a container with none or several fields) is refused (is not a text field, holds N text fields), also by a negated check, instead of passing. A pattern sent with it is refused (invalid params). The agent reports the new capability see_filled; an agent without it passes any state word it does not know, so the CLI refuses the step before sending it to one.

  • Fixed: on Flutter 3.50 the children of an IndexedStack that are not shown, and the items of a closed DropdownButton (which keeps them in an IndexedStack), were seen: see passed and don't see failed (issue #900). Flutter 3.44 wrapped each hidden child in a Visibility(visible: false), which the agent recognised; 3.50 does not, and the hidden child stays mounted at its size. A widget under a child that is not at the stack's index is now not visible (a null index shows none, nested stacks count each level), in see, tap, the selectors, probe.visible_summary and the device view. An ordinary Stack is unchanged.

  • Fixed: a scroll with no selector no longer moves a list on a page an IndexedStack does not show. The agent ranks scrollables by whether they can be scrolled and receive touches, so a long list on a page that is not shown beat a short one on the shown page and was moved, while the screen stayed as it was. Pages the stack does not show are skipped.

0.27.0 - 2026-11-11 #

  • Fixed: the agent reports its package version at handshake. It reported 0.26.0 in 0.26.1, so the CLI warned of a version mismatch even when the versions matched. A test now fails when the two differ.

0.26.1 - 2026-10-26 #

  • Security: secret text in password and credential-named fields is no longer listed or read as text in warnings, widget summaries or recordings.

0.26.0 - 2026-10-14 #

  • Added: device view methods, all additive and for debug or profile builds only: probe.tap_at, probe.long_press_at, probe.swipe_at (pointer events at logical coordinates), probe.type_text (inserts into the focused field), probe.hit_test (the widget at a point), probe.dump_tree with bounds: true (nodes with logical-pixel bounds), and scale on probe.screenshot (the reply also carries width, height, logicalWidth, logicalHeight and dpr). An older CLI never sends them.
  • Added: probe.screenshot accepts inline: true. The image is returned in the answer only and the agent deletes its temporary copy, so a client that asks for frames several times a second (Studio's live view) no longer leaves thousands of PNGs in the device's temp directory. Without the flag the answer is unchanged, and an older agent ignores the flag.

0.25.2 - 2026-10-13 #

  • No agent change (flutter_probe_agent is released in step with the CLI).

0.25.1 - 2026-10-12 #

  • No agent change (flutter_probe_agent is released in step with the CLI); the README install snippet now points at 0.25.

0.25.0 - 2026-10-12 #

  • Added: probe.perf_start takes an optional frameBudgetMs (default 16.7): frames above it count as slow in that window. The snapshot and the start reply report the budget in use (frameBudgetMs); an older agent ignores the parameter and the CLI warns.

0.24.0 - 2026-10-11 #

  • Fixed: double tap and long press on a target that something else covers now return the same "covered by another widget" warning as tap (they used to succeed silently); --fail-on-warning turns it into a failure.

0.23.0 - 2026-10-10 #

  • Added: probe.perf_start / probe.perf_snapshot / probe.perf_stop: frame timings (build/raster, slow-frame share, p50/p95/p99/max) from the engine's timings callback and resident memory sampled every 250 ms, between a start and a stop. perf_stop waits about a second for the last batch of frame timings.

0.22.1 - 2026-10-09 #

  • Changed: HTTP capture also redacts x-goog-api-key, api-key, x-auth-token, x-access-token, x-amz-security-token, x-csrf-token, x-xsrf-token headers and the values of credential query parameters (key, api_key, access_token, token, id_token, refresh_token, auth, secret, password, sig, signature) in logged URLs (reported by a user review of 0.22.0).

0.22.0 - 2026-10-09 #

  • Added: the agent records the app's dart:io HTTP traffic (HttpOverrides; method, URL, status, duration, redacted headers, 64 KB bodies, last 300 exchanges; PROBE_HTTP_CAPTURE=false disables) and answers probe.http_log / probe.http_clear.
  • Changed: probe.mock is now effective (it was only stored): matching requests are answered with the given status, body, headers, delay or connection failure (served by a loopback server so the app's client sees real HTTP). Mocks match a method and a path with * wildcards (or a full URL).

0.21.0 - 2026-10-09 #

  • No agent change (set language, --locale/--locales and l10n "key" live in the CLI); version aligned.

0.20.0 - 2026-10-09 #

  • Added: loose text matching (loose selector flag, probe test --match-loose): case, accents/diacritics, typographic apostrophes and dashes, full-width forms, invisible characters and whitespace fold on both sides (lib/src/textfold.dart, identical to the CLI via a shared fixture). Off by default.
  • Fixed (regression in 0.19.2+): scroll down in "<anchor>" until X appears failed with Widget not found: text("<anchor>") once the anchor had scrolled off screen, because the scrollable was re-resolved from the anchor on every step. It is now resolved once.
  • Fixed: wait for idle (and the settle after every action) returned before the UI reflected a tap. A setState schedules a frame, but the scheduler phase still reads idle until it starts, so the next see read the stale tree ("UI one tap behind", intermittent, seen on bottom sheets). The settle check now lets a requested frame run first (bounded to 250 ms, so a screen that animates forever does not stall actions).

0.19.5 - 2026-10-09 #

  • No agent change (iOS driver and Android dialog fixes in the CLI); version aligned.

0.19.4 - 2026-10-08 #

  • No agent change (iOS clear app data fix in the CLI); version aligned.

0.19.3 - 2026-10-08 #

  • Fixed: the target of a bare scroll / swipe ranks scrollables that can scroll (extent > 0, physics accepting user input) before ones that cannot (a non-scrollable PageView).

0.19.2 - 2026-10-08 #

  • Fixed: tap, long press, double tap, type and clear scroll a built but off-screen target into view (since 0.19.0 they failed on it).

0.19.1 - 2026-10-08 #

  • No agent change (iOS clear app data fix in the CLI); version aligned.

0.19.0 - 2026-10-08 #

  • Fixed: text/id lookups ignore widgets laid out entirely off screen and elements without a render object (mid-rebuild); screenshot retries while a boundary still needs paint.

0.18.1 - 2026-10-08 #

  • Fixed: probe.set_time_dilation with a non-positive factor sets 0.001 instead of an invalid 0.

0.18.0 - 2026-10-08 #

  • No agent change (implicit waiting is a CLI feature); version aligned.

0.17.2 - 2026-10-08 #

  • No agent change (CLI migrate fixes); version aligned.

0.17.1 - 2026-10-08 #

  • Fixed: the checked state check was missing and passed for every widget; it now reads Switch, SwitchListTile, CupertinoSwitch, Checkbox, CheckboxListTile, Radio, RadioListTile, FilterChip and ChoiceChip.

0.17.0 - 2026-10-08 #

  • Fixed: is disabled / is enabled use the control enclosing the matched text (button, icon button, FAB, text field, switch, checkbox).
  • Added: wait accepts a pattern for appears (matching); text selectors fall back to Tooltip messages and Semantics labels when no visible text matches.

0.16.9 - 2026-10-08 #

  • Fixed: bare type / clear (empty selector) act on the focused text field (error when none is focused).
  • Fixed: see / wait until find content of a page under a see-through route (dialog, bottom sheet, popup), for example a SnackBar.

0.16.8 - 2026-10-08 #

  • Fixed: probe.see applies the pattern parameter (matching); it was received and ignored.

0.16.7 - 2026-10-08 #

  • Added: device action press_enter (keyboard action key on the focused text field; warns when nothing has focus).

0.16.6 - 2026-10-07 #

  • Fixed: a tap whose point is received by nothing (clipped, off screen, under the keyboard) produces the covered warning (when the screen also did not change) instead of a plain success; the warning mentions an open keyboard.

0.16.5 - 2026-10-06 #

  • Changed: go back at the root route is a no-op with a warning instead of leaving the app (Android).
  • Fixed: the "covered by another widget" tap warning is only reported when the tap also changed nothing on screen (no more false positives on SnackBar actions); tap prefers the reachable copy among several matches.

0.16.4 - 2026-10-06 #

  • Fixed: tap prefers the reachable widget among several matches and warns about a covered target only after it stays covered for ~0.6 s (FP-21).

0.16.3 - 2026-10-06 #

  • Fixed: tap waits (up to 2 s) until the target is hit-testable after a scroll, and only warns when the widget at the tap point is unrelated to the target (FP-20).

0.16.2 - 2026-10-06 #

  • Changed: tap returns a warning in its result when another widget covers the tap point (the tap still happens), and waits up to 1.5 s while a scrollable around the target is still scrolling (Flutter ignores pointer events during scroll activity) (FP-19).

0.16.1 - 2026-10-06 #

  • No agent change. Version bump to match the CLI release 0.16.1 (the 0.16.0 CLI release failed to build on Windows; see the root changelog).

0.16.0 - 2026-10-06 #

  • Fixed: a bare scroll chose the largest scrollable even when it was a hidden IndexedStack tab; it now prefers a scrollable that receives touches at its center (FP-16).
  • Fixed: id selectors in error messages read id("#key"); they now read #key.
  • Docs: full agent reference in the README (build flags, ports and tokens, modes, troubleshooting) and a documentation link on pub.dev. The agent still has no native plugin dependency.

0.15.0 - 2026-10-06 #

  • Fixed: agent_version.dart reported 0.13.0 in 0.14.0, causing a bogus CLI/agent version-mismatch warning.

  • BREAKING (WiFi auto-discovery only): the core agent no longer depends on bonsoir. A native plugin in an app's dependencies is linked into every build of that app, release included (size, privacy, a possible local-network prompt) regardless of --dart-define=PROBE_AGENT. mDNS advertising is now an optional hook: implement ProbeAdvertiser in your own app (copy-paste bonsoir example in the Studio docs) and pass it to ProbeAgent.start(advertiser: ...) in the build flavor that wants it. No separate package is published. Without it WiFi testing is unchanged (--host <ip> --token <token>) and the agent logs PROBE_MDNS=off. New public API: ProbeAdvertiser, mdnsServiceType. The advertised port is now the actually bound port (it used to be the preferred one even after a fallback) (FP-15).

  • Fixed: the finder/executor resolved routes with ModalRoute.of(element), subscribing queried elements to a route scope from outside a build; since 0.10.0 that could trip a framework assertion (red screen) after closing a sheet or dialog. Routes are now read without subscribing (probeRouteOf) (FP-13).

  • Added: probe.scroll accepts until (selector) — scroll until the target is on screen, then ensureVisible it; stops early at the end of the list (FP-13).

  • Added: probe.wait kind idle (route transitions + frames/animations/HTTP settled); tap waits up to 2 s for an in-flight route transition (FP-13).

  • Added: probe.visible_summary RPC; Widget not found / Timed out waiting for errors now list the visible texts and keys (FP-13).

  • Added: --dart-define=PROBE_PORT=<n> moves the agent off 48686 (pairs with probe test --agent-port).

  • Fixed: type/clear assigned controller.text, which never reached onChanged/inputFormatters; they now use EditableTextState.userUpdateTextEditingValue like real keystrokes (FP-13).

0.14.0 - 2026-08-31 #

  • Fixed: tap #id could invoke a Semantics-wrapped button's onTap directly even when something else (a modal barrier, a loading overlay, an unrelated Stack sibling) covered it on screen — _tryDirectTap's Element-tree walk has no relationship to paint order. Now gated behind a read-only hit test (the same hitTestInView call Flutter's own pointer dispatch uses internally); only takes the direct-invoke fast path when the target is genuinely the topmost thing at its own screen position, otherwise falls through to the existing real hit-tested pointer tap (FP-10).

0.13.0 - 2026-08-15 #

  • No agent-side changes — version kept in lockstep with the CLI's 0.13.0 release.

0.12.1 - 2026-08-15 #

  • No agent-side changes — version kept in lockstep with the CLI's 0.12.1 release.

0.12.0 - 2026-08-15 #

  • Fixed: the app-cache-dir copy of the ProbeAgent's reconnection token was written once, at server startup, to a directory Android documents as clearable by the OS at any time (confirmed reproducible: the file disappeared permanently, mid-session, after visiting a screen that touches ImagePicker — PT-27). The existing every-3-second PROBE_TOKEN= log re-print now also re-attempts the file write, so a cleared cache dir gets a fresh copy back within seconds instead of staying gone — and permanently breaking reconnection — for the rest of the session.
  • Fixed: _textOf only read Text/RichText widgets, so see #field contains "..." silently returned an empty string for any TextField/TextFormField selector (the check always failed, reporting contains "", not "<expected>"). Now reuses the existing _findTextController up/down search (already used for tap-to-focus and clear()) to find the underlying EditableText's controller when the matched widget isn't Text/RichText/EditableText itself.

0.11.0 - 2026-08-14 #

  • Added: ProbeFinder.boundsFor and a new probe.selector_bounds RPC method — resolves a widget's full on-screen pixel bounding box (origin + size), not just the center point dump_tree/_elementInfo already expose. Used by the CLI to black out configured regions of a screenshot before it's sent to an AI provider for see "..." with ai assertions (FP-1). No behavior change for any existing selector/finder call.

0.10.4 - 2026-07-06 #

  • Fixed: the ordinal selector kind (tap 1st ..., tap 2nd ..., etc.) always matched by displayed text only, even when combined with an #id selector — 1st #card_id silently matched nothing, since #card_id isn't real on-screen text. Now checks for the # prefix and matches by key instead when present, mirroring the plain id selector kind (PT-26).

0.10.3 - 2026-07-06 #

No changes to this package's own code — bumped to stay in lockstep with the CLI's version. This release's fixes (PT-23: recipe calls starting with "open" misparsed; PT-24: hyphenated recipe names misparsed) are entirely in the Go CLI's parser/lexer. Full detail in the root CHANGELOG's [0.10.3] section.

0.10.2 - 2026-07-06 #

No functional changes — a test-only addition (test/sequential_focus_autofocus_test.dart) locking in correct sequential tap+type behavior when a field auto-focuses on page load, after a reported regression (PT-21, reopened) was re-investigated and found not to reproduce. Full detail in the root CHANGELOG's [0.10.2] section. Version bumped purely to stay in lockstep with the CLI's version.

0.10.1 - 2026-07-05 #

No changes to this package's own code — bumped to stay in lockstep with the CLI's version (used for the probe.ping version-mismatch check). This patch release's fixes (ProbeScript's wait for ... parsing, plus two CI-only automation fixes) are entirely on the Go CLI/tooling side. Full detail in the root CHANGELOG's [0.10.1] section.

0.10.0 - 2026-07-05 #

A hardening release — every fix below was found and verified against a real device, working through a backlog of real E2E test issues surfaced by driver projects. Full detail on each is in the root CHANGELOG's [Unreleased] section (also being cut as part of this release); this is the summary relevant to apps embedding this package directly.

  • probe.ping now returns agent_version (this package's version) alongside ok, and accepts an optional client_version field from the CLI. Part of the CLI↔agent version-compatibility handshake. Both fields are additive and ignored by older CLIs/agents that don't know about them.
  • Fixed: the version reported in mDNS advertisements and GET /probe/status had drifted to 0.7.0 while this file's version moved on — corrected to match pubspec.yaml and moved into its own agent_version.dart file.
  • Fixed: scroll/swipe could report success while producing zero visible movement (a single-jump synthetic drag, and stale content from a route mounted underneath the current one both resolving as visible).
  • Fixed: tap #id could leave a text field genuinely unfocused, and the focused state check (see/don't see #id is focused) had a false positive matching ancestors of the selected element.
  • Fixed: tap #id's fast direct-invoke path now recognizes InkResponse (not just InkWell), covering more Material buttons before falling back to a real hit-tested pointer tap.
  • Fixed: wait until #id appears/disappears always searched for the literal text "#my_button" instead of resolving the id — timed out on every non-text widget (icon buttons, etc.) regardless of visibility.
  • Fixed: close keyboard and close the app were both complete no-ops. close keyboard now calls FocusManager.instance.primaryFocus?.unfocus() directly; close the app calls SystemNavigator.pop().
  • Fixed: don't see #id is <state> (negated state checks — focused, enabled, disabled, contains) silently ignored the checked state, degrading to a bare existence check.
  • Fixed: scroll could lose the gesture arena to Dismissible-wrapped list rows and never actually scroll — now drives the nearest Scrollable's own ScrollPosition directly instead of simulating a pointer gesture.
  • Fixed: take screenshot could capture stale content from a previous route instead of the current screen (missing waitForSettled() call, and _captureViaRepaintBoundary had no route-awareness).

0.9.9 - 2026-05-13 #

  • awaitSignal(String name) — new public function. Blocks until the CLI delivers deliver signal "name". Returns the value string sent with the step (default "true"). Use to unblock any OS-level interaction not in the Flutter widget tree: push permission prompts, payment sheets, App Tracking Transparency, custom deep-link handlers, etc.
  • New probe.signal JSON-RPC method handled by ProbeExecutor.

0.9.8 - 2026-05-12 #

  • awaitBiometricResult() — new public function exported from flutter_probe_agent. Test apps in PROBE_AGENT builds call this instead of local_auth.authenticate() to receive the biometric match/no-match result from the CLI via the new probe.biometric_signal JSON-RPC command. Required on iOS 26+ simulator where notifyutil no-match notifications no longer resolve LAContext.evaluatePolicy.
  • New probe.biometric_signal JSON-RPC method (ProbeMethods.biometricSignal) that delivers true (match) or false (no-match) to a pending awaitBiometricResult() Dart Completer.

0.9.7 - 2026-05-12 #

  • Version bump to match CLI v0.9.7. No agent code changes — biometric authentication is driven via simctl/adb from the CLI, no on-device agent involvement needed.

0.9.6 - 2026-05-12 #

  • Version bump to match CLI v0.9.6. No agent code changes — annotation DSL completeness work is in the flutter_probe_annotation & flutter_probe_gen packages.

0.9.5 - 2026-05-12 #

  • Fix: iOS/Impeller screenshots — take_screenshot previously called OffsetLayer.toImage() on the root render view, which on iOS with the Impeller renderer returns a GPU-backed texture whose toByteData(png) is null — silently breaking screenshot capture. The agent now primarily captures via the largest visible RenderRepaintBoundary in the widget tree (Impeller-supported), and falls back to the old OffsetLayer.toImage() path only when no boundary is found (Skia). Awaits WidgetsBinding.instance.endOfFrame before capture so the latest frame is always in the image. Uses the actual view's devicePixelRatio rather than a hard-coded 2.0.

0.9.4 - 2026-05-09 #

  • Version bump to match CLI v0.9.4. No agent code changes — the .mcpb Claude Desktop Extension is a CLI/server-side packaging change.

0.9.3 - 2026-05-09 #

  • Version bump to match CLI v0.9.3. No agent code changes in this release. Annotation-driven test generation is delivered by the new flutter_probe_annotation and flutter_probe_gen packages.

0.9.2 - 2026-05-09 #

  • Version bump to match CLI v0.9.2. No agent code changes in this release. Step feedback improvements are CLI-side only.

0.9.1 - 2026-05-09 #

  • Version bump to match CLI v0.9.1. No agent code changes in this release. MCP parity improvements are CLI/server-side only.

0.9.0 - 2026-05-09 #

  • Version bump to match CLI v0.9.0. No agent code changes in this release. Composite tests are a CLI-only feature — the agent runs identically on each participating device and is unaware of the multi-device coordination layer.

0.7.0 - 2026-05-02 #

  • mDNS auto-discovery — when running in WiFi mode (PROBE_WIFI=true), the agent now advertises itself over Bonjour/NSD as _flutterprobe._tcp so Studio (and any compatible client) can discover physical devices on the LAN without manual IP entry. The token is deliberately NOT included in TXT records — anyone on the same network would be able to read it. The agent still prints PROBE_TOKEN=... to logs as before.
  • New dependency: bonsoir: ^5.1.10. Localhost-only deployments (no PROBE_WIFI) skip mDNS bring-up entirely so apps that only test on simulators pay zero overhead.

0.6.0 - 2026-04-26 #

  • Version bump to keep in sync with CLI v0.6.0
  • New RPCs: probe.open_link, probe.set_time_dilation, probe.set_output, probe.drain_output
  • Relational selectors: findRelational resolves widgets by spatial relation (below, above, left of, right of) using RenderBox positions
  • New asserts: see "X" is focused (FocusManager.primaryFocus check)
  • New waits: wait for animations to end (polls SchedulerBinding.hasScheduledFrame)

0.5.7 - 2026-04-26 #

  • No agent changes — version bump to keep in sync with CLI

0.5.6 - 2026-04-02 #

  • Add Homebrew tap support (brew tap AlphaWaveSystems/tap && brew install probe)

0.5.5 - 2026-04-02 #

  • License changed from BSL 1.1 to MIT — free to embed in any Flutter app, including commercial and proprietary

0.5.4 #

  • Restructured README: clear two-part system explanation (CLI + agent)
  • Added CLI installation instructions (go install, GitHub Releases)
  • Step-by-step getting started guide (install CLI → add agent → write test → run)
  • Architecture diagram showing CLI ↔ agent communication

0.5.3 #

  • Automated publishing via GitHub Actions (OIDC, no secrets needed)
  • Publish workflow chains after Release workflow success

0.5.2 #

  • Fix pub.dev score: shorten description to under 180 chars
  • Fix dartdoc angle bracket warning in plugin.dart
  • Reduce public API to ProbeAgent and isProbeEnabled only

0.5.1 #

  • HTTP POST endpoint (POST /probe/rpc) — stateless fallback transport for physical devices
  • WiFi testing mode (PROBE_WIFI=true) — binds to 0.0.0.0 for network access
  • Pre-shared restart token — enables restart the app over WiFi without USB
  • Direct onTap fallback for Semantics-wrapped widgets on physical devices
  • Unique pointer IDs for synthetic gestures (prevents collision with real touches)
  • sendFn setter on ProbeExecutor for 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
1
likes
0
points
1.86k
downloads

Documentation

Documentation

Publisher

verified publisheralphawavesystems.com

Weekly Downloads

On-device E2E test agent for FlutterProbe. Embeds in your Flutter app and executes test commands via direct widget-tree access.

Homepage
Repository (GitHub)
View/report issues

Topics

#testing #e2e #flutter #automation

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_probe_agent