//! Motion request payloads for browser commands.
useserde::Serialize;/// Scroll command parameters.
////// `selector` targets a specific element when present. Otherwise the native
/// backend applies `x` and `y` deltas to the page scroll state.
#[derive(Debug, Clone, Serialize)]pubstructScrollRequest{/// Optional CSS selector for the element to scroll.
pubselector:Option<String>,
/// Optional horizontal scroll delta.
pubx:Option<f64>,
/// Optional vertical scroll delta.
puby:Option<f64>,
/// Optional frame selector retained for API compatibility.
pubframe_selector:Option<String>,
}