本文整理汇总了Java中play.test.TestBrowser.getDriver方法的典型用法代码示例。如果您正苦于以下问题:Java TestBrowser.getDriver方法的具体用法?Java TestBrowser.getDriver怎么用?Java TestBrowser.getDriver使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类play.test.TestBrowser
的用法示例。
在下文中一共展示了TestBrowser.getDriver方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: ListRoutinesPage
import play.test.TestBrowser; //导入方法依赖的package包/类
/**
* Go directly to the ListRoutines page and make sure the browser gets there.
*
* @param browser A remotely controlled test browser.
*/
public ListRoutinesPage(TestBrowser browser) {
super(browser.getDriver());
this.goTo("http://localhost:" + GlobalTest.TEST_PORT + "/listRoutines");
isAt();
}
示例2: EditUserPage
import play.test.TestBrowser; //导入方法依赖的package包/类
/**
* Go directly to the EditUser page and make sure the browser gets there.
*
* @param browser A remotely controlled test browser.
*/
public EditUserPage(TestBrowser browser) {
super(browser.getDriver());
this.goTo("http://localhost:" + GlobalTest.TEST_PORT + "/editUser");
isAt();
}
示例3: IndexPage
import play.test.TestBrowser; //导入方法依赖的package包/类
/**
* Go directly to the IndexPage and make sure the browser gets there.
*
* @param browser A remotely controlled test browser.
*/
public IndexPage(TestBrowser browser) {
super(browser.getDriver());
this.goTo("http://localhost:" + GlobalTest.TEST_PORT + "/");
isAt();
}
示例4: LoginPage
import play.test.TestBrowser; //导入方法依赖的package包/类
/**
* Go directly to the Login page and make sure the browser gets there.
*
* @param browser A remotely controlled test browser.
*/
public LoginPage(TestBrowser browser) {
super(browser.getDriver());
this.goTo("http://localhost:" + GlobalTest.TEST_PORT + "/login");
isAt();
}
示例5: DeleteUserPage
import play.test.TestBrowser; //导入方法依赖的package包/类
/**
* Go directly to the DeleteUser page and make sure the browser gets there.
*
* @param browser A remotely controlled test browser.
*/
public DeleteUserPage(TestBrowser browser) {
super(browser.getDriver());
this.goTo("http://localhost:" + GlobalTest.TEST_PORT + "/deleteMagician");
isAt();
}
示例6: ListSetsPage
import play.test.TestBrowser; //导入方法依赖的package包/类
/**
* Go directly to the ListSets page and make sure the browser gets there.
*
* @param browser A remotely controlled test browser.
*/
public ListSetsPage(TestBrowser browser) {
super(browser.getDriver());
this.goTo("http://localhost:" + GlobalTest.TEST_PORT + "/listSets");
isAt();
}
示例7: AboutPage
import play.test.TestBrowser; //导入方法依赖的package包/类
/**
* Go directly to the About page and make sure the browser gets there.
*
* @param browser A remotely controlled test browser.
*/
public AboutPage(TestBrowser browser) {
super(browser.getDriver());
this.goTo("http://localhost:" + GlobalTest.TEST_PORT + "/about");
isAt();
}
示例8: ListMagiciansPage
import play.test.TestBrowser; //导入方法依赖的package包/类
/**
* Go directly to the ListMagicians page and make sure the browser gets there.
*
* @param browser A remotely controlled test browser.
*/
public ListMagiciansPage(TestBrowser browser) {
super(browser.getDriver());
this.goTo("http://localhost:" + GlobalTest.TEST_PORT + "/listMagicians");
isAt();
}
示例9: EditSetPage
import play.test.TestBrowser; //导入方法依赖的package包/类
/**
* Go directly to the EditSet page and make sure the browser gets there.
*
* @param browser A remotely controlled test browser.
*/
public EditSetPage(TestBrowser browser) {
super(browser.getDriver());
this.goTo("http://localhost:" + GlobalTest.TEST_PORT + "/editSet");
isAt();
}
示例10: EditMagicianPage
import play.test.TestBrowser; //导入方法依赖的package包/类
/**
* Go directly to the EditMagician page and make sure the browser gets there.
*
* @param browser A remotely controlled test browser.
*/
public EditMagicianPage(TestBrowser browser) {
super(browser.getDriver());
this.goTo("http://localhost:" + GlobalTest.TEST_PORT + "/editMagician");
isAt();
}
示例11: HelpPage
import play.test.TestBrowser; //导入方法依赖的package包/类
/**
* Go directly to the Help page and make sure the browser gets there.
*
* @param browser A remotely controlled test browser.
*/
public HelpPage(TestBrowser browser) {
super(browser.getDriver());
this.goTo("http://localhost:" + GlobalTest.TEST_PORT + "/help");
isAt();
}
示例12: EditRoutinePage
import play.test.TestBrowser; //导入方法依赖的package包/类
/**
* Go directly to the EditRoutine page and make sure the browser gets there.
*
* @param browser A remotely controlled test browser.
*/
public EditRoutinePage(TestBrowser browser) {
super(browser.getDriver());
this.goTo("http://localhost:" + GlobalTest.TEST_PORT + "/editRoutine");
isAt();
}
示例13: ViewMaterialPage
import play.test.TestBrowser; //导入方法依赖的package包/类
/**
* Go directly to the ViewMaterial page and make sure the browser gets there.
*
* @param browser A remotely controlled test browser.
* @param id The ID number of the material to view.
*/
public ViewMaterialPage(TestBrowser browser, long id) {
super(browser.getDriver());
this.goTo("http://localhost:" + GlobalTest.TEST_PORT + "/viewMaterial?id=" + id);
isAt();
}
示例14: ViewMagicianPage
import play.test.TestBrowser; //导入方法依赖的package包/类
/**
* Go directly to the ViewMagician page and make sure the browser gets there.
*
* @param browser A remotely controlled test browser.
* @param id The ID number of the magician to view.
*/
public ViewMagicianPage(TestBrowser browser, long id) {
super(browser.getDriver());
this.goTo("http://localhost:" + GlobalTest.TEST_PORT + "/viewMagician?id=" + id);
isAt();
}
示例15: ViewRoutinePage
import play.test.TestBrowser; //导入方法依赖的package包/类
/**
* Go directly to the ViewRoutine page and make sure the browser gets there.
*
* @param browser A remotely controlled test browser.
* @param id The ID number of the routine to view.
*/
public ViewRoutinePage(TestBrowser browser, long id) {
super(browser.getDriver());
this.goTo("http://localhost:" + GlobalTest.TEST_PORT + "/viewRoutine?id=" + id);
isAt();
}