Permalink
Browse files

Updated README.

  • Loading branch information...
1 parent a8df762 commit f104a3c13fa415537f6177bef47df3314517ca89 @davehunt committed Jul 24, 2012
Showing with 29 additions and 12 deletions.
  1. +29 −12 README.md
View
@@ -17,23 +17,40 @@ From source:
Running FlynnID
---------------
+FlynnID requires a configuration file in JSON format to be specified on the command line.
+
For full usage details run the following command:
$ flynnid --help
--version show program's version number and exit
-h, --help show this help message and exit
-v, --verbose increase verbosity
- --hubhost=STR host selenium grid is listening on [default: localhost]
- --hubport=NUM port selenium grid is listening on [default: 4444]
- --nodehost=STR host selenium node is listening on [default: localhost]
- --nodeport=NUM port selenium node is listening on [default: 5555]
- --browsername=STR name of browser available on node
- --browserver=STR version of browser available on node
- --platform=STR platform of node
-
-### Example
-
-Register an AndroidDriver node:
- $ flynnid --nodeport=8080 --browsername=android --browserver=2.3.3 --platform=ANDROID
+### Example configuration
+
+The following would register two AndroidDriver nodes on a local Selenium Grid hub:
+
+ {
+ "hub": {
+ "host": "localhost",
+ "port": 4444
+ },
+ "nodes": [{
+ "host": "10.250.10.10",
+ "port": 8080,
+ "browser": {
+ "name": "android",
+ "version": "4"
+ },
+ "platform": "ANDROID"
+ },{
+ "host": "10.250.10.11",
+ "port": 8080,
+ "browser": {
+ "name": "android",
+ "version": "4"
+ },
+ "platform": "ANDROID"
+ }]
+ }

0 comments on commit f104a3c

Please sign in to comment.