protected void startBrowser() {
   driver = TestBench.createDriver(new FirefoxDriver());
   // dimension includes browser chrome
   driver.manage().window().setSize(new Dimension(800, 600));
   testBench = (TestBenchCommands) driver;
 }
예제 #2
0
 @Before
 public void setUp() throws Exception {
   driver = TestBench.createDriver(new FirefoxDriver());
   baseUrl = "http://localhost:8080/";
 }