public static void main(String[] args) {
WebDriver driver = null;
ChromeOptions opt = new ChromeOptions();
ChromeDriverManager.getInstance(DriverManagerType.CHROME).setup();
opt.addArguments("--start-maximized");
driver = new ChromeDriver(opt);
driver.manage().window().setSize(new Dimension(1920, 1080));
driver.get("https://kenwheeler.github.io/slick");
WebElement el = driver.findElement(By.className("slick-arrow"));
for (int i = 0; i <50; i++) {
el.click();
System.out.println("hello");try {
Thread.sleep(1000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}