Struct selenium_rs::element::Element[][src]

pub struct Element<'a> { /* fields omitted */ }

Element provides an interface from which to inspect and interact with the requested elements on the page. The general flow involves navigating to your webpage in question, and then requesting a specific element through the query API, and then using the returned element to inspect the element on the page

Methods

impl<'a> Element<'a>
[src]

impl<'a> Element<'a>
[src]

gets an element attribute for the given element

retrieves the property value for the given element, if it exists

Gets a css property for the given element, if it exists

Gets the text for a given element, if it exists or makes sense

impl<'a> Element<'a>
[src]

Clears a content editable element's text value, or returns an error

Tries to type into a content editable element

Trait Implementations

impl<'a> Debug for Element<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for Element<'a>

impl<'a> Sync for Element<'a>