struct Webdriver::Command
- Webdriver::Command
- Struct
- Value
- Object
Included Modules
- Webdriver::Commands::Actions
- Webdriver::Commands::Alerts
- Webdriver::Commands::Cookies
- Webdriver::Commands::Document
- Webdriver::Commands::Elements
- Webdriver::Commands::Navigation
- Webdriver::Commands::Print
- Webdriver::Commands::Screenshot
- Webdriver::Commands::Session
- Webdriver::Commands::Window
Defined in:
webdriver/command.crConstructors
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