1

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 ?

Andriy Kuba
  • 8,093
  • 2
  • 29
  • 46
Yann Moisan
  • 8,161
  • 8
  • 47
  • 91
  • What have you tried and what was the result? As you did in school... please show your work. :) It's part of the process of getting questions answered on SO. It's helpful to you because it forces you to investigate your own problem and think it through. It also proves to readers that you did your homework and made a reasonable attempt to answer your own question. Thirdly, it helps readers find and diagnose the problem resulting in a better answer for you and less time wasted for us. – JeffC Oct 08 '15 at 19:54

1 Answers1

0

You can refresh browser with Selenium refresh method

getDefaultDriver().navigate().refresh();

just use driver close method to close the window

getDefaultDriver().close()
Andriy Kuba
  • 8,093
  • 2
  • 29
  • 46