static void Main() { using (WebHostDriver driver = new WebHostDriver("PhantomJS")) { driver.NavigateTo("www.google.com"); } } }