DirtyDriver.Commands (DirtyDriver v0.0.2) View Source

Implements the commands needed to drive the browser https://www.w3.org/TR/webdriver2/#endpoints

Search these sections below: SESSIONS TIMEOUTS NAVIGATION CONTEXTS ELEMENTS DOCUMENT COOKIES ACTIONS USER PROMPTS SCREEN CAPTURE PRINT

Link to this section Summary

Link to this section Functions

USER PROMPTS

Link to this function

execute_async_script(script, args \\ [])

View Source
Link to this function

execute_script(script, args \\ [])

View Source
Link to this function

find_element(location, selector)

View Source
Link to this function

find_element_from_element(location, selector)

View Source
Link to this function

find_elements(location, selector)

View Source
Link to this function

find_elements_from_element(location, selector)

View Source

ELEMENTS

COOKIES

Link to this function

get_element_attribute(name)

View Source
Link to this function

get_element_css_value(name)

View Source
Link to this function

get_element_property(name)

View Source
Link to this function

get_element_text(ele \\ ElementAgent.element)

View Source

DOCUMENT

TIMEOUTS

CONTEXTS

Link to this function

perform_actions(actions)

View Source

ACTIONS

NAVIGATION

Link to this function

set_window_rect(width, height, x, y)

View Source

SESSIONS

Link to this function

switch_to_parent_frame()

View Source
Link to this function

switch_to_window(handle)

View Source
Link to this function

take_element_screenshot()

View Source

SCREEN CAPTURE