Struct webdriver_client::Element [] [src]

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

An HTML element within a WebDriver session.

Methods

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

[src]

[src]

[src]

Note: Not currently supported by ChromeDriver.

See: our issue comment, ChromeDriver issue.

[src]

[src]

[src]

[src]

Returns the tag name for this element

[src]

[src]

[src]

Returns a reference that can be passed on to the API

[src]

The raw reference id that identifies this element, this can be used with Element::new()

[src]

Gets the innerHTML javascript attribute for this element. Some drivers can get this using regular attributes, in others it does not work. This method gets it executing a bit of javascript.

[src]

Trait Implementations

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

[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>