When trying to call Sendkeys method in selenium webdriver it is displaying below error:
Exception in thread \"main\" org.openqa.selenium.WebDriverException:
An older version of the ChromeDriver is being spun off when the test is being run; to remedy:
Ex:
System.setProperty("webdriver.chrome.driver", "/path/to/chromedriver.exe");
WebDriver driver = new ChromeDriver();