class Mint::TestRunner::Browser

Included Modules

Defined in:

test_runner/browser.cr

Constant Summary

BROWSER_PATHS = {firefox: ["/Applications/Firefox.app/Contents/MacOS/firefox-bin", "firefox-bin", "firefox"], chrome: ["/Applications/Google Chrome.app/Contents/MacOS/Google Chrome", "chromium-browser", "google-chrome", "chromium"]}

The available browsers which we can connect to.

Constructors

Instance Method Summary

Instance methods inherited from module Mint::Errorable

error(name : Symbol, &) error, error!(name : Symbol, &) error!, errors : Array(Error) errors

Class methods inherited from module Mint::Errorable

error(name : Symbol, &) error

Constructor Detail

def self.new(browser : String) #

[View source]

Instance Method Detail

def cleanup #

[View source]
def open(path) #

[View source]
def resolve : String #

[View source]
def start(url, profile_directory) #

[View source]
def stop #

[View source]