Until yesterday: the code below worked fine.
System.setProperty("webdriver.chrome.driver", "/Users../Applications/chromedriver");
WebDriver driver = new ChromeDriver();
driver.get("www.google.com");
Dimension dim = new Dimension(1280,5277);
driver.manage().window().setSize(dim);
driver.quit();
But this morning he started throwing:
An exception in the stream "main" org.openqa.selenium.SessionNotCreatedException: an unexecuted session exception
I read some answers in Stackoverflow. I realized that this error occurs if there is a version mismatch between selenium webdriver and chrome driver. So I download the latest Selenium Webdriver (3.0.1 for java) and chromedriver (2.4). I get an error
org.openqa.selenium.NoSuchSessionException: no such session
So, back to the version I used (2.53 for the selenium web driver, I get the same error.
:
.
.
Eclipse- > project clean