abstract class LuckyFlow::Selenium::Driver

Direct Known Subclasses

Defined in:

lucky_flow/selenium/driver.cr

Instance Method Summary

Instance methods inherited from class LuckyFlow::Driver

accept_alert accept_alert, add_cookie(key : String, value : String) add_cookie, current_url : String current_url, dismiss_alert dismiss_alert, find_css(query : String) : Array(LuckyFlow::Element) find_css, find_xpath(query : String) : Array(LuckyFlow::Element) find_xpath, get_cookie(key : String) : String | Nil get_cookie, hover(element : LuckyFlow::Element) hover, html : String html, maximize_window maximize_window, reset reset, resize_window(width : Int64 | Nil, height : Int64 | Nil) resize_window, screenshot(path : String) screenshot, shutdown shutdown, stop stop, visit(url : String) visit, window_size : NamedTuple(width: Int64 | Nil, height: Int64 | Nil) window_size

Instance Method Detail

def accept_alert #

[View source]
def add_cookie(key : String, value : String) #

[View source]
def current_url : String #

[View source]
def dismiss_alert #

[View source]
def find_css(query : String) : Array(LuckyFlow::Element) #

[View source]
def find_xpath(query : String) : Array(LuckyFlow::Element) #

[View source]
def get_cookie(key : String) : String | Nil #

[View source]
def hover(element : LuckyFlow::Element) #

[View source]
def html : String #

[View source]
def maximize_window #

[View source]
def reset : Nil #

[View source]
def resize_window(width : Int64 | Nil, height : Int64 | Nil) #

[View source]
def screenshot(path : String) #

[View source]
def shutdown : Nil #

[View source]
def stop #

[View source]
def visit(url : String) #

[View source]
def window_size : NamedTuple(width: Int64 | Nil, height: Int64 | Nil) #

[View source]