|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jbehave.core.configuration.Configuration
org.jbehave.web.selenium.SeleniumConfiguration
public class SeleniumConfiguration
Extends Configuration to provide Selenium-based components. It can be used for both Selenium and WebDriver APIs.
| Constructor Summary | |
|---|---|
SeleniumConfiguration()
|
|
| Method Summary | |
|---|---|
static com.thoughtworks.selenium.condition.ConditionRunner |
defaultConditionRunner(com.thoughtworks.selenium.Selenium selenium)
Creates default ConditionRunner: JUnitConditionRunner(selenium,
10, 100, 1000). |
static com.thoughtworks.selenium.Selenium |
defaultSelenium()
Creates default Selenium instance: DefaultSelenium("localhost",
4444, "*firefox", "http://localhost:8080") |
com.thoughtworks.selenium.Selenium |
selenium()
|
SeleniumContext |
seleniumContext()
|
SeleniumConfiguration |
useSelenium(com.thoughtworks.selenium.Selenium selenium)
|
SeleniumConfiguration |
useSeleniumContext(SeleniumContext seleniumContext)
|
SeleniumConfiguration |
useWebDriverProvider(WebDriverProvider webDriverProvider)
|
WebDriverProvider |
webDriverProvider()
|
| Methods inherited from class org.jbehave.core.configuration.Configuration |
|---|
defaultStoryReporter, doDryRun, dryRun, failureStrategy, keywords, parameterConverters, paranamer, pathCalculator, pendingStepStrategy, stepCollector, stepdocReporter, stepFinder, stepMonitor, stepPatternParser, storyControls, storyLoader, storyParser, storyPathResolver, storyReporter, storyReporterBuilder, useDefaultStoryReporter, useFailureStrategy, useKeywords, useParameterConverters, useParanamer, useParanamer, usePathCalculator, usePendingStepStrategy, useStepCollector, useStepdocReporter, useStepFinder, useStepMonitor, useStepPatternParser, useStoryControls, useStoryLoader, useStoryParser, useStoryPathResolver, useStoryReporter, useStoryReporterBuilder, useStoryReporters, useViewGenerator, viewGenerator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SeleniumConfiguration()
| Method Detail |
|---|
public com.thoughtworks.selenium.Selenium selenium()
public SeleniumConfiguration useSelenium(com.thoughtworks.selenium.Selenium selenium)
public SeleniumContext seleniumContext()
public SeleniumConfiguration useSeleniumContext(SeleniumContext seleniumContext)
public WebDriverProvider webDriverProvider()
public SeleniumConfiguration useWebDriverProvider(WebDriverProvider webDriverProvider)
public static com.thoughtworks.selenium.Selenium defaultSelenium()
DefaultSelenium("localhost",
4444, "*firefox", "http://localhost:8080")
public static com.thoughtworks.selenium.condition.ConditionRunner defaultConditionRunner(com.thoughtworks.selenium.Selenium selenium)
JUnitConditionRunner(selenium,
10, 100, 1000).
selenium - the Selenium instance
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||