title: API calls not happening on opening of Cefsharp application in Testcomplete
body: <p>I have a Cefsharp application which has Html pages with Javascript. Js makes API calls which happens fine if I open cef application in windows but most of API calls are not happening when I am opening same cef application through testcompelete. </p>
  
  <p>On debugging application I am getting CORS warning.
  I am using CefCustomScheme which has root folder path, schemeName and host name specified. And provided same shemeName and host name in Address in <em>wpf: chromiumwebrowse</em> tag. If I hard-code root folder path in Address Source binding, its working fine even in testcomplete. </p>
  
  <pre><code>private static CefCustomScheme GetAlmanacScheme(IAppSettings appSettings)
          {
              try
              {
                  var almanacFolder = appSettings.Settings["ALMANAC_WIDGET_PATH"];
                  if (string.IsNullOrWhiteSpace(almanacFolder))
                  {
                      almanacFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "Thermo", "InstConnectAgent", "AlmanacWidget");
                  }
                  var factory = new FolderSchemeHandlerFactory(almanacFolder, "thermo", "almanac");
                  return new CefCustomScheme() { SchemeName = "thermo", SchemeHandlerFactory = factory, IsCorsEnabled = true };
              }
              catch
              {
                  return null;
              }
          }
  </code></pre>
  
  <p>and Source is</p>
  
  <pre><code>private const string WidgetUrl = "thermo://almanac";
  public string Source
          {
              get
              {
                  return WidgetUrl;
              }
          }
  </code></pre>