Permalink
Browse files

Add back part of documentation that gives instructions for starting u…

…p the example Moustache app included for testing clj-webdriver
  • Loading branch information...
1 parent 597a3f7 commit 0b76354023a5af43fe65cee68db3752d37f116ef @semperos committed Oct 24, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.md
View
6 README.md
@@ -166,6 +166,12 @@ The namespace `clj-webdriver.test.example-app.core` contains a [Ring][ring-githu
Use `lein test` to run this library's test suite. Ensure port 5744 is free, or edit `test/clj_webdriver/test/core.clj` before running the tests.
+*Note:* If you just want to run the example app that clj-webdriver uses for its testing purposes, do the following:
+
+ * Open a terminal and run `lein repl` or `lein swank` at the root of this project
+ * Evaluate `(use 'clj-webdriver.test.example-app.core 'ring.adapter.jetty)`
+ * Evaluate `(defonce my-server (run-jetty #'routes {:port 5744, :join? false}))`, making sure to adjust the `test-port` in `test/clj_webdriver/test/core.clj` to whatever you use here.
+
## Acknowledgements
Credits to [mikitebeka/webdriver-clj][webdriver-orig] for the initial code for this project and many of the low-level wrappers around the Selenium-WebDriver API.

0 comments on commit 0b76354

Please sign in to comment.