[][src]Struct thirtyfour::WebElement

pub struct WebElement { /* fields omitted */ }

Methods

impl<'a> WebElement[src]

pub fn new(
    conn: Arc<RemoteConnectionAsync>,
    session_id: SessionId,
    element_id: ElementId
) -> Self
[src]

pub async fn rect<'_>(&'_ self) -> WebDriverResult<ElementRect>[src]

pub async fn tag_name<'_>(&'_ self) -> WebDriverResult<String>[src]

pub async fn text<'_>(&'_ self) -> WebDriverResult<String>[src]

pub async fn click<'_>(&'_ self) -> WebDriverResult<()>[src]

pub async fn clear<'_>(&'_ self) -> WebDriverResult<()>[src]

pub async fn get_property<'_, '_>(
    &'_ self,
    name: &'_ str
) -> WebDriverResult<String>
[src]

pub async fn get_attribute<'_, '_>(
    &'_ self,
    name: &'_ str
) -> WebDriverResult<String>
[src]

pub async fn get_css_property<'_, '_>(
    &'_ self,
    name: &'_ str
) -> WebDriverResult<String>
[src]

pub async fn is_selected<'_>(&'_ self) -> WebDriverResult<bool>[src]

pub async fn is_enabled<'_>(&'_ self) -> WebDriverResult<bool>[src]

pub async fn find_element<'_>(
    &'_ self,
    by: By<'a>
) -> WebDriverResult<WebElement>
[src]

pub async fn find_elements<'_>(
    &'_ self,
    by: By<'a>
) -> WebDriverResult<Vec<WebElement>>
[src]

pub async fn send_keys<'_>(&'_ self, keys: TypingData) -> WebDriverResult<()>[src]

pub async fn screenshot_as_base64<'_>(&'_ self) -> WebDriverResult<String>[src]

pub async fn screenshot_as_png<'_>(&'_ self) -> WebDriverResult<Vec<u8>>[src]

pub async fn screenshot<'_, '_>(&'_ self, path: &'_ Path) -> WebDriverResult<()>[src]

Trait Implementations

impl Clone for WebElement[src]

impl Debug for WebElement[src]

impl Display for WebElement[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,