pub fn open_browser_with_options(options: BrowserOptions) -> Result<Output>
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_with_options, BrowserOptions};

if open_browser_with_options(BrowserOptions::create("http://github.com")).is_ok() {
    // ...
}