class AirAlertMapUaWallpaper::Browser

Defined in:

air_alert_map_ua_wallpaper/browser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : Type, driver_path : String, width = 2560, height = 1440) #

[View source]

Instance Method Detail

def create_chrome_session(driver_path : String) : Tuple(Selenium::Driver, Selenium::Session) #

[View source]
def create_firefox_session(driver_path : String) : Tuple(Selenium::Driver, Selenium::Session) #

[View source]
def take_screenshot(language : String = DEFAULT_LANGUAGE, light : Bool = false, preset : String = DEFAULT_PRESET, map : String = DEFAULT_MAP, hide_date : Bool = false) : File #

[View source]