Hey guys Im trying to use driver.manage().window().maximize(); within each class that is enclose within a suite.
I would create the driver then maximize it. However when adding these classes that use these After and Before calls into a suite they do not run together. The first test will always run but the second will never open the driver after it closes. However, if I do remove the .maxamize() call they all work together and in isolation.
driver = new SafariDrive();
driver.manage().window().maximize();
driver.get("localhost:3000");
then in AfterClass:
driver.quit();