I made a test script that is way to long. So, i'm making short classes. if i want to run a few in a row (with TestNG xml file) the first class will succeed, but the next one opens a new firefox window because of:
WebDriver driver = new FirefoxDriver();
How do I make it so that it won't open a new window but goes on in the same window as the previous class?