cdp_set_shared_value
Set a Reanimated SharedValue on a component found by testID. Walks the React fiber tree to find the component, locates the named prop (a SharedValue object), and sets .value. Useful for driving Reanimated animations in proof captures when gesture/scroll synthesis is unavailable.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
testID | string | Yes | testID of the component that receives the SharedValue as a prop | ||
prop | string | Yes | Prop name containing the SharedValue (e.g. “scrollY”, “progress”) | ||
value | number | Yes | Numeric value to set on the SharedValue |
cdp_set_shared_value(testID: <string>, prop: <string>, value: <number>)