Selenium README note about --url-base on Windows
[lhc/web/wiklou.git] / tests / selenium / README.md
index a14cccb..6fad6fe 100644 (file)
@@ -25,11 +25,17 @@ To run only one file (for example page.js), you first need to spawn the chromedr
 
     chromedriver --url-base=/wd/hub --port=4444
 
+Note: On Windows you may need to use "--url-base=wd/hub"
+
 Then in another terminal:
 
     cd tests/selenium
     ../../node_modules/.bin/wdio --spec specs/page.js
 
+To run only one test (name contains string 'preferences'):
+
+    ../../node_modules/.bin/wdio --spec specs/user.js --mochaOpts.grep preferences
+
 The runner reads the config file `wdio.conf.js` and runs the spec listed in
 `page.js`.