public Browser(BrowserOptions options) { if (options == null) { options = new BrowserOptions(); } browser = CreateBrowser(options.ToJavascriptOptions()); }
public Task VisitAsync(Uri url, BrowserOptions options) { var input = new { url = url.AbsoluteUri, options = options.ToJavascriptOptions() }; return(ExecuteJavascriptFunction(browser.visit, input)); }