Skip to content

Latest commit

 

History

History
 
 

serenity-demo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Serenity Demo

WARNING: Works with Serenity v0.8.31, Selenium v2.23.1

Execute the Demo

Run Serenity with Maven, using FireFox

mvn  verify

Does not run on Mac OS-X v10.10.5 with FireFox v41.0.1 Probably the serenity-firefox-driver v2.23.1 is to old.

Run Serenity with Maven, using Chrome

WARNING: Before running the Maven command below, make sure the property webdriver.chrome.driver has the correct value. Open the pom.xml and search for the profile chrome. Correct the path for webdriver.chrome.driver.

mvn  -Pchrome  verify

Runs on Mac OS-X v10.10.5 with Chrome v45.0.2454.93 (64-bit)

Using Maven settings, for system specific properties

The Chrome Web-Driver path can be set in the Maven pom.xml. But it can also be added in the settings.xml. This makes it easier, as no system / user specific settings are needed in the project configuration (pom.xml).

Add the following lines to the settings.xml, in the section for profiles.

<profile>
  <id>chrome</id>
  <properties>
    <webdriver.chrome.driver>/Users/tjeerd/applications-dev/chromedriver</webdriver.chrome.driver>
  </properties>
</profile>