I am facing an using in automation. I just want to execute selenium script, which I wrote in eclipse via cmd. I haven't used testng or anything else.
public class claim {
public static void main(String[] args) throws InterruptedException {
System.setProperty("webdriver.chrome.driver","C://selenium-2.53.0//chromedriver.exe");
WebDriver driver = new ChromeDriver();
driver.get("http://toolsqa.wpengine.com/iframe-practice-page/");
driver.quit();
}
}
this is the demo script i want to run via cmd.