title: Loading local html/css/js files with CefSharp v65
body: <p>I am trying to load local html/css/js files using CefSharp v65 in WinForms.</p>
  
  <p>I found other stack overflow posts regarding this but none of them used the new built-in version of <code>FolderSchemeHandlerFactory</code>, instead implementing their own version. Here is the documentation I read on the Scheme Handler: <a href="https://github.com/cefsharp/CefSharp/wiki/General-Usage" rel="nofollow noreferrer">https://github.com/cefsharp/CefSharp/wiki/General-Usage</a> under the "Scheme Handler" header.</p>
  
  <p>Sources: <a href="https://stackoverflow.com/questions/28697613/working-with-locally-built-web-page-in-cefsharp">Working with locally built web page in CefSharp</a></p>
  
  <p>I tried using the new feature like so:</p>
  
  <pre><code>    public ChromiumWebBrowser browser;
  
      public void InitBrowser()
      {            
          var settings = new CefSettings();
          settings.RegisterScheme(new CefCustomScheme
          {
              SchemeName = "localfolder",
              SchemeHandlerFactory = new FolderSchemeHandlerFactory(
                  rootFolder: @"..\..\..\..\CEFSharpExample\webpage",
                  defaultPage: "index.html" // default
              )
          });
  
          Cef.Initialize(settings);
  
          string html = File.ReadAllText(@"..\..\..\webpage\index.html");
          browser = new ChromiumWebBrowser();
          browser.LoadHtml(html);
          this.Controls.Add(browser);
          browser.Dock = DockStyle.Fill;
  
      }
  </code></pre>
  
  <p>However, I am simply getting the html with no css, with no exceptions in the debugger. Does anyone understand how to leverage the new built-in functionality?</p>