module

Easybrawto::Browser

Constants

CDP_PORT = 9222
CHROME_PATHS_LINUX = ["/usr/bin/google-chrome", "/usr/bin/google-chrome-stable", "/usr/bin/chromium-browser", "/usr/bin/chromium", "/usr/bin/brave-browser", "/snap/bin/chromium"]
CHROME_PATHS_MACOS = ["/Applications/Google Chrome.app/Contents/MacOS/Google Chrome", "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser", "/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge", "/Applications/Chromium.app/Contents/MacOS/Chromium", "/Applications/Arc.app/Contents/MacOS/Arc"]

Class methods

base_dir
Source
chrome_paths
Source
find_browser(name : String = "chrome") : String
Source
launch(browser : String = "chrome", profile_path : String | Nil = nil, profile_dir : String = "Default") : Process
Source
list_profiles
Source
open_profile(name : String, browser : String = "chrome")
Source
persistent_profile_dir(name : String) : String
Source
profiles_json_path
Source
temp_profile_dir
Source