I'm using FluentLenium with playframework.
How to refresh the browser between two test methods ?
And how to close the browser window at the end of the test suite ?
I'm using FluentLenium with playframework.
How to refresh the browser between two test methods ?
And how to close the browser window at the end of the test suite ?
You can refresh browser with Selenium refresh
method
getDefaultDriver().navigate().refresh();
just use driver close
method to close the window
getDefaultDriver().close()