public void addCustInfo() throws InterruptedException
{
WebDriver driver;
WebDriverManager.chromedriver().setup();
driver = new ChromeDriver();
driver.get("http://www.way2automation.com/angularjs-protractor/banking/#/manager");
Thread.sleep(3000);
driver.findElement(By.xpath("//button[@ng-click='addCust']")).click();
}
I have tried with both relative and absolute xpath, but it doesnt identify in script.