本文整理汇总了Java中org.openqa.selenium.remote.BrowserType.IE属性的典型用法代码示例。如果您正苦于以下问题:Java BrowserType.IE属性的具体用法?Java BrowserType.IE怎么用?Java BrowserType.IE使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类org.openqa.selenium.remote.BrowserType
的用法示例。
在下文中一共展示了BrowserType.IE属性的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: multipleFilters
@CapabilityFilters({
@CapabilityFilter(filterGroup = "pc", browserName = BrowserType.IE),
@CapabilityFilter(platform = Platform.WINDOWS, browserName = { BrowserType.FIREFOX, BrowserType.CHROME }) })
@Test
public void multipleFilters() throws Exception {
assertAssumed(2, 5, 6, 7, 8);
}
示例2: create
public static Actions create(final WebDriver webDriver) {
switch (getBrowserName(webDriver)) {
case BrowserType.CHROME:
return new ChromeActions(webDriver);
case BrowserType.IE:
return new InternetExplorerActions(webDriver);
case BrowserType.FIREFOX:
case BrowserType.SAFARI:
return new SyntheticActions(webDriver);
default:
return new DefaultActions(webDriver);
}
}
示例3: singleParam
@CapabilityFilter(browserName = BrowserType.IE)
@Test
public void singleParam() throws Exception {
assertAssumed(1, 2);
}
示例4: multipleParam
@CapabilityFilter(browserName = { BrowserType.IE, BrowserType.CHROME })
@Test
public void multipleParam() throws Exception {
assertAssumed(1);
}
示例5: filterPC_browserIE
@CapabilityFilter(filterGroup = "pc", browserName = BrowserType.IE)
@Test
public void filterPC_browserIE() throws Exception {
assertAssumed(2, 3, 4, 5, 6, 7, 8);
}
示例6: singleFilter
@CapabilityFilters(@CapabilityFilter(filterGroup = "pc", browserName = BrowserType.IE))
@Test
public void singleFilter() throws Exception {
assertAssumed(2, 3, 4, 5, 6, 7, 8);
}
示例7: duplicatedFilters
@CapabilityFilters({ @CapabilityFilter(filterGroup = "pc", browserName = BrowserType.IE),
@CapabilityFilter(filterGroup = "pc", browserName = BrowserType.IE) })
@Test
public void duplicatedFilters() throws Exception {
assertAssumed(2, 3, 4, 5, 6, 7, 8);
}