title: selenium chromedriver browser not open after publish
body: <p>In my MVC web application, I'm using selenium C# web driver to read some data from HTML file. my application works properly when I execute my application through VS(HTML file opening through chrome and reading HTML properly). But after I publish and host application in IIS server HTML file not opening through the chrome browser. (browser not opening), here is my code.</p>
  
  <pre><code>public class CribController : Controller
  {
      public ActionResult Index()
      {
          try
          {
  
          IWebDriver driver = new ChromeDriver(@"C:\Selenium\");
  
          driver.Navigate().GoToUrl("D:/Crib/toEdit_Foramted V2.html");
          string text = driver.Title;
  
          var table = driver.FindElement(By.Id("reportcontainerstyle-Ver2"));
          var rowsss = table.FindElements(By.TagName("tr"));
  
          //To get days arrears details
          var mainTable = driver.FindElement(By.Name("ConsumerCreditDetails_Version3"));
          var subTables = mainTable.FindElements(By.Id("bandstyle-Ver2"));
  
              var rows = driver.FindElements(By.XPath("//table[.//td[normalize-space(.)='Credit Facility (CF) Details']][1]/following-sibling::table[1]//tr[not(@type='table-header')]"));
  
              foreach (IWebElement row in rows)
              {
                  //Some logic here
              }
              Thread.Sleep(3000);
              driver.Close();
          }
          catch (Exception ex)
          {
              Logger.LogWriter("WebApplication2.Controllers", ex, "CribController", "Index");
              Console.WriteLine(ex);
          }
          return View();
      }
  }
  </code></pre>
  
  <p>Why this not working after publishing. how can I solve this? </p>