pub struct FindElementsParams {Show 15 fields
pub text: Option<String>,
pub role: Option<String>,
pub test_id: Option<String>,
pub css: Option<String>,
pub selector: Option<String>,
pub name: Option<String>,
pub max_results: Option<u32>,
pub tag: Option<String>,
pub placeholder: Option<String>,
pub alt: Option<String>,
pub title_attr: Option<String>,
pub label: Option<String>,
pub exact: Option<bool>,
pub enabled: Option<bool>,
pub webview_label: Option<String>,
}Expand description
Parameters for the find_elements tool.
Fields§
§text: Option<String>Text content to search for (case-insensitive substring match).
role: Option<String>ARIA role to match (exact match).
test_id: Option<String>data-testid attribute value to match (exact match).
css: Option<String>CSS selector to match (also accepts selector as an alias).
selector: Option<String>Alias for css — CSS selector to match.
name: Option<String>Accessible name to search for (aria-label, title, placeholder – case-insensitive substring).
max_results: Option<u32>Maximum number of results to return. Default: 10.
tag: Option<String>HTML tag name to match (e.g. “button”, “input”).
placeholder: Option<String>Placeholder text to match (case-insensitive substring).
alt: Option<String>Alt text to match (case-insensitive substring).
title_attr: Option<String>Title attribute to match (case-insensitive substring).
label: Option<String>Associated label text to match (finds inputs by their label).
exact: Option<bool>If true, text matching is exact instead of substring.
enabled: Option<bool>Filter by enabled state.
webview_label: Option<String>Target webview label.
Trait Implementations§
Source§impl Debug for FindElementsParams
impl Debug for FindElementsParams
Source§impl<'de> Deserialize<'de> for FindElementsParams
impl<'de> Deserialize<'de> for FindElementsParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for FindElementsParams
impl JsonSchema for FindElementsParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more