Skip to content

Commit a3df4aa

Browse files
Updated README to document PhantomJS.
1 parent ae701dd commit a3df4aa

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ dist
1414
/RUNNING_PID
1515
/.settings
1616
/.target
17-
.DS_Store
17+
.DS_Store
18+
.checkstyle

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,12 @@ submitting an empty form generates a validation error, one that submits a form f
137137
from a valid Student ID, and a final one that fills out a valid form manually by using the
138138
IndexPage methods.
139139

140-
Getting tests to work exposes an unfortunate library versioning issue: HTMLUnit requires
140+
Getting tests to work exposes an unfortunate library versioning issue: [HTMLUnit](http://htmlunit.sourceforge.net/) requires
141141
a version of JQuery no later than 1.8.3, while recent versions of Twitter Bootstrap
142142
have a Maven dependency of JQuery 1.9.0. [Build.scala](https://github.com/ics-software-engineering/play-example-form/blob/master/project/Build.scala#L17-19)
143143
illustrates how to load a newer version of Bootstrap with an older, HTMLUnit-compliant version of JQuery.
144+
Another solution is to use [PhantomJS](http://phantomjs.org/) rather than HTMLUnit; then you can
145+
use current versions of JQuery. [This fork](https://github.com/buster84/play-example-form) shows how to use PhantomJS.
144146

145147
Issues
146148
------

0 commit comments

Comments
 (0)