struct Webdriver::Command

Included Modules

Defined in:

webdriver/command.cr

Constructors

Instance Method Summary

Macro Summary

Instance methods inherited from module Webdriver::Commands::Actions

perform_action(action_builder : Webdriver::Actions::ActionBuilder) perform_action

Instance methods inherited from module Webdriver::Commands::Print

print(orientation : String = "portrait", scale : Int32 = 1, background : Bool = false, width : Float = 21.59, height : Float = 27.94, top : Int32 = 1, bottom : Int32 = 1, left : Int32 = 1, right : Int32 = 1, shrink : Bool = true, ranges : Array(Int32) = [] of Int32) print

Instance methods inherited from module Webdriver::Commands::Screenshot

capture_element_screenshot(element_id) capture_element_screenshot, capture_screenshot capture_screenshot

Instance methods inherited from module Webdriver::Commands::Alerts

accept_alert accept_alert, dismiss_alert dismiss_alert, get_alert_text get_alert_text, send_alert_text(text : String) send_alert_text

Instance methods inherited from module Webdriver::Commands::Cookies

add_cookie(name : String, value : String, path : String = "/", domain : String | Nil = nil, secure : Bool = false, http_only : Bool = false, expires : Time | Int32 | Nil = nil, same_site : HTTP::Cookie::SameSite | Nil = nil)
add_cookie(cookie c : HTTP::Cookie)
add_cookie
, add_cookies(cookies : HTTP::Cookies) add_cookies, delete_all_cookies delete_all_cookies, delete_cookie(name) delete_cookie, get_all_cookies get_all_cookies, get_named_cookie(name) get_named_cookie

Instance methods inherited from module Webdriver::Commands::Document

execute_script(body, *arguments) execute_script, execute_script_async(body, *arguments) execute_script_async, get_page_source get_page_source

Instance methods inherited from module Webdriver::Commands::Elements

clear_element(element_id : String) clear_element, click_element(element_id : String) click_element, find_element(using : String, value : String) find_element, find_element_from_element(element_id : String, using : String, value : String) find_element_from_element, find_elements(using : String, value : String) find_elements, find_elements_from_element(element_id : String, using : String, value : String) find_elements_from_element, get_active_element get_active_element, get_element_attribute(element_id : String, name : String) get_element_attribute, get_element_computed_label(element_id : String) get_element_computed_label, get_element_computed_role(element_id : String) get_element_computed_role, get_element_css_value(element_id : String, css_property : String) get_element_css_value, get_element_enabled(element_id : String) get_element_enabled, get_element_property(element_id : String, name : String) get_element_property, get_element_rect(element_id : String) get_element_rect, get_element_selected(element_id : String) get_element_selected, get_element_tag_name(element_id : String) get_element_tag_name, get_element_text(element_id : String) get_element_text, is_element_displayed(element_id : String) is_element_displayed, send_keys_to_element(element_id : String, body : Hash) send_keys_to_element

Instance methods inherited from module Webdriver::Commands::Window

delete_window delete_window, fullscreen_window fullscreen_window, get_all_window_handles get_all_window_handles, get_window_handle get_window_handle, get_window_rect get_window_rect, maximize_window maximize_window, minimize_window minimize_window, new_window new_window, use_frame(id) use_frame, use_parent_frame use_parent_frame, use_window(handle) use_window

Instance methods inherited from module Webdriver::Commands::Navigation

get_title get_title, get_url get_url, go_back go_back, go_forward go_forward, refresh refresh, visit_url(url : String) visit_url

Instance methods inherited from module Webdriver::Commands::Session

delete_session delete_session, session_status session_status, start_session(capabilities : Capabilities::Base) start_session

Constructor Detail

def self.new(base_url : String) #

[View source]

Instance Method Detail

def set_window_rect(rect : WindowRect) #

[View source]

Macro Detail

macro generate_error_handling(klass_map) #

[View source]