There is a written java test. There are three tests and it is written so that a new browser is opened for each test. Tests check for links.

How to prescribe that the browser opens once and after passing the test again was a return to the original page?

  • and can the test code (at least part of the opening of the browser) lead for clarity? - Mikhail Rebrov
  • one
    I apologize for not immediately answering))) Understood) - Sergey Bogdanov
  • you can write the answer yourself under your question - help those who are faced with the same problem ;-) - Mikhail Rebrov
  • In my case, I solved the problem by placing everything I needed to do in one test, and at the end indicated a switch to the original URL. - Sergey Bogdanov

0