@DataProvider public Object[][] provideGoodSamples() {
return new Object[][]{
test("http://example.org 640x480", new GalenPageTest()
.withUrl("http://example.org")
.withSize(640, 480)
.withBrowserFactory(new SeleniumBrowserFactory())),
test("selenium firefox http://example.org 640x480", new GalenPageTest()
.withUrl("http://example.org")
.withSize(640, 480)
.withBrowserFactory(new SeleniumBrowserFactory())),
test("selenium chrome http://example.org 640x480", new GalenPageTest()
.withUrl("http://example.org")
.withSize(640, 480)
.withBrowserFactory(new SeleniumBrowserFactory(SeleniumBrowserFactory.CHROME))),
test("selenium ie http://example.org 640x480", new GalenPageTest()
.withUrl("http://example.org")
.withSize(640, 480)
.withBrowserFactory(new SeleniumBrowserFactory(SeleniumBrowserFactory.IE))),
test("selenium whatever_other_browser http://example.org 640x480", new GalenPageTest()
.withUrl("http://example.org")
.withSize(640, 480)
.withBrowserFactory(new SeleniumBrowserFactory("whatever_other_browser"))),
test("Selenium Chrome http://example.org 640x480", new GalenPageTest()
.withUrl("http://example.org")
.withSize(640, 480)
.withBrowserFactory(new SeleniumBrowserFactory(SeleniumBrowserFactory.CHROME))),
test("SELENIUM CHROME http://example.org 640x480", new GalenPageTest()
.withUrl("http://example.org")
.withSize(640, 480)
.withBrowserFactory(new SeleniumBrowserFactory(SeleniumBrowserFactory.CHROME))),
test("selenium grid http://mygrid:8080/wd/hub --page http://example.org --size 640x480", new GalenPageTest()
.withUrl("http://example.org")
.withSize(640, 480)
.withBrowserFactory(new SeleniumGridBrowserFactory("http://mygrid:8080/wd/hub"))),