webdriver.driver = provided
webdriver.provided.type = RedFirefox
webdriver.provided.RedFirefox = de.acme.app.testbench.tests.EnhRedFirefoxWebDriver
It launches my custom EnhRedFirefoxWebdriver with its german profile and works like a charm. Same is true for my custom PhantomJS. But when I erase the stuff in the serenity.properties and put
it in the pom.xml, like so
<profile>
<id>driver_enh_firefox</id>
<properties>
<de.acme.testbench.localheadless>false</de.acme.testbench.localheadless>
<webdriver.driver>provided</webdriver.driver>
<webdriver.provided.type>RedFirefox</webdriver.provided.type>
<webdriver.provided.RedFirefox>de.acme.app.testbench.tests.EnhRedFirefoxWebDriver</webdriver.provided.RedFirefox>
</properties>
</profile>
it ignores it. The tests start, but with the default firefox in en profile. Bug or my fault? If it's my fault: How can I change the custom webdriver in the pom? The goal is to choose the webdriver in intellijs maven projects view, and run any test you want.
Jenkins should get command line args passed, for the custom webdriver to be chosen.