We use the JBehave Web to manage our selenium test suite for the new project and is very similar to the Etsy.com example available on JBehave, especially the Java / Spring maven archetype, as it fits our architecture.
The biggest problem so far has been documentation, so I post here hoping that I can get help from others in a similar situation.
It seems that JBehave Web provides only the "FirefoxWebDriverProvider" class and does not match the one for Chrome. Anyone else run into this issue? Have you written your own ChromeDriverProvider?
In addition, we need to resize the browser, which appears by default, and I cannot find a way to do this during the initial loading of the test run.
We use the Maven archetype: jbehave-web-selenium-java-spring-archetype, which uses the jbehave-maven-plugin and the run-stories-with-annotated-embedder target, so we use the Annotated method to extend InjectableEmbedder.
If someone can give some recommendations, I would really appreciate it, even if I just point out more examples.
source share