Struct selenium_rs::webdriver::WebDriver[][src]

pub struct WebDriver { /* fields omitted */ }

The WebDriver is the primary way by which interaction is managed between the Selenium-Webdriver Server, and our client.

Methods

impl WebDriver
[src]

Constructs a new Webdriver with the specific browser. TODO: Make sure and add testing to verify that it supports firefox properly

impl WebDriver
[src]

Actually starts and creates a session on the server, collecting the session ID on success, and returning an error on failure

Returns the current url of the browsing context. See examples for more details on how this is used

Deletes the session, consuming itself in the process TODO: Since we must manually add a new session, it would definitely stand to reason that we should not consume the webdriver here, or, be tied specifically to a single session

impl WebDriver
[src]

Navigates the current browsing session to the reqwested url. This will also wait until the browser has finished executing the request, meaning that future calls may assume we've reached the appropriate url

impl WebDriver
[src]

Requests an elements from the webpage, given the specified selector and query string

Auto Trait Implementations

impl Send for WebDriver

impl Sync for WebDriver