While automating the one scenario in chrome browser using Selenium Webdriver (Junit) as follows:
Click on Place Payment Button.
Wait for 20 Seconds
Retrieve the Order Number(Used GetText())
After waiting, I am get the following error:
chrome error communicating with the remote browser. it may have died
I have resolved the same issue by updating the chrome driver. Try by downloading latest version of chrome driver according to your browser version.