Soundor 0.12.0
Release notes for Soundor 0.12.0.
3 changes — 3 features
Minor Changes
-
#163
e02159eThanks @dm-balakin! - Soundor Driver screenshots: the engine captures its view as it renders it, as PNG (capturecapability,Capture.screenshot), and the JUCE bridge uploads it to the DevTools server as binary, which keeps it as a short-lived capture clients read with their session cookie (bounded in size, number and lifetime).driver.screenshot(),locator.screenshot()andsoundor driver screenshot <path>save it; DevTools previews and downloads it. Locators gainwaitFor()andisVisible(), and a missing debug ID lists the ones there are.Packages:
@soundor/config,@soundor/devtools-client,@soundor/devtools-protocol,@soundor/devtools-server,@soundor/driver,soundor. -
#162
3fe72a1Thanks @dm-balakin! - Soundor Driver input: the engine dispatches synthetic pointer, wheel and keyboard input through its own hit testing, capture and event dispatch (inputcapability;Input.dispatchPointer,dispatchWheel,dispatchKey,typeText,focusandUI.hitTestin the DevTools protocol), on a pointer of its own, and releases whatever it holds when control is released, the client goes or the UI reloads.@soundor/driveraddspointer,keyboard, control leases and locator actions (click,hover,drag,dragTo,scroll,focus,press,type) that wait until a node is actionable;soundor driveraddsclick,hover,focus,move,drag,scroll,keyandtype; DevTools offers Click, Hover and Focus on the selected node. The engine decodes runtime commands itself, andSurface::key(input, typed)is the shared key entry of the JUCE editor and synthetic input.Packages:
@soundor/config,@soundor/devtools-client,@soundor/devtools-protocol,@soundor/devtools-server,@soundor/driver,soundor. -
#160
4974b0dThanks @dm-balakin! - Soundor Driver:@soundor/driverconnects to a running plugin's DevTools session as a control client and inspects its native UI (targets, the node tree, node details, and lazy locators by debug ID, role or text);soundor driver targets|tree|inspectdoes the same from the command line, with--jsonoutput and stable exit codes. Components take adebugIdprop (node.debugIdinsoundor:ui), which DevTools shows and the Driver finds nodes by.Packages:
@soundor/core,@soundor/driver,@soundor/react,@soundor/test-runtime,soundor.