pub struct FindElementsParams {
pub text: Option<String>,
pub role: Option<String>,
pub test_id: Option<String>,
pub css: Option<String>,
pub name: Option<String>,
pub max_results: Option<u32>,
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.
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.
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for FindElementsParams
impl JsonSchema for FindElementsParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for FindElementsParams
impl RefUnwindSafe for FindElementsParams
impl Send for FindElementsParams
impl Sync for FindElementsParams
impl Unpin for FindElementsParams
impl UnsafeUnpin for FindElementsParams
impl UnwindSafe for FindElementsParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more