title: TestNG Configuration Failure excecution
body: <p>I was trying to run TestNG script via Selenium WD 3.6 Version
  The script just need to browse to Facebook via Chrome Browser</p>
  
  <pre><code>import org.openqa.selenium.chrome.ChromeDriver;
  import org.testng.annotations.BeforeTest;
  import org.testng.annotations.Test;
  
  public class FB {
       ChromeDriver driver= new ChromeDriver ();
       @BeforeTest
        public void beforeTest() {
           System.setProperty("webdriver.chrome.driver","C:\\chromedriver.exe");
              driver.manage().window().maximize();
  
        } 
  
       @Test
       public void URL()
       {
           driver.get("https://www.facebook.com/");
  }
  }
  </code></pre>
  
  <p>I received the following error in console:</p>
  
  <pre><code>[RemoteTestNG] detected TestNG version 6.12.0
  org.testng.TestNGException: 
  Cannot instantiate class Staging.FB
  </code></pre>
  
  <p>Please advise what i did wrong</p>
  
  <p>Thanks</p>