Function open_browser
Source pub fn open_browser(browser: Browser, url: &str) -> Result<()>
Expand description
Opens the specified URL on the specific browser (if available) requested. Return semantics are
the same as for open.
ยงExamples
use webbrowser::{open_browser, Browser};
if open_browser(Browser::Firefox, "http://github.com").is_ok() {
}