当前位置: 首页>>代码示例>>Java>>正文


Java TestBrowser.getDriver方法代码示例

本文整理汇总了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();
}
 
开发者ID:PlayWithMagic,项目名称:PlayWithMagic.org,代码行数:11,代码来源:ListRoutinesPage.java

示例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();
}
 
开发者ID:PlayWithMagic,项目名称:PlayWithMagic.org,代码行数:11,代码来源:EditUserPage.java

示例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();
}
 
开发者ID:PlayWithMagic,项目名称:PlayWithMagic.org,代码行数:11,代码来源:IndexPage.java

示例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();
}
 
开发者ID:PlayWithMagic,项目名称:PlayWithMagic.org,代码行数:11,代码来源:LoginPage.java

示例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();
}
 
开发者ID:PlayWithMagic,项目名称:PlayWithMagic.org,代码行数:11,代码来源:DeleteUserPage.java

示例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();
}
 
开发者ID:PlayWithMagic,项目名称:PlayWithMagic.org,代码行数:11,代码来源:ListSetsPage.java

示例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();
}
 
开发者ID:PlayWithMagic,项目名称:PlayWithMagic.org,代码行数:11,代码来源:AboutPage.java

示例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();
}
 
开发者ID:PlayWithMagic,项目名称:PlayWithMagic.org,代码行数:11,代码来源:ListMagiciansPage.java

示例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();
}
 
开发者ID:PlayWithMagic,项目名称:PlayWithMagic.org,代码行数:11,代码来源:EditSetPage.java

示例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();
}
 
开发者ID:PlayWithMagic,项目名称:PlayWithMagic.org,代码行数:11,代码来源:EditMagicianPage.java

示例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();
}
 
开发者ID:PlayWithMagic,项目名称:PlayWithMagic.org,代码行数:11,代码来源:HelpPage.java

示例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();
}
 
开发者ID:PlayWithMagic,项目名称:PlayWithMagic.org,代码行数:11,代码来源:EditRoutinePage.java

示例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();
}
 
开发者ID:PlayWithMagic,项目名称:PlayWithMagic.org,代码行数:12,代码来源:ViewMaterialPage.java

示例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();
}
 
开发者ID:PlayWithMagic,项目名称:PlayWithMagic.org,代码行数:12,代码来源:ViewMagicianPage.java

示例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();
}
 
开发者ID:PlayWithMagic,项目名称:PlayWithMagic.org,代码行数:12,代码来源:ViewRoutinePage.java


注:本文中的play.test.TestBrowser.getDriver方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。