FlynnID 0.2

Dave Hunt

In Tron, Flynn’s identity disc is the master key to getting onto the Grid. In the far less exciting real world, FlynnID is the key to registering a Selenium node to Selenium Grid. Yesterday I released FlynnID 0.2, which changes the usage from a list of optional arguments to a single expected argument: a configuration file. This means you can now register several nodes in one go. Below is an example configuration file.

{
    "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"
    }]
}

Of course this does unfortunately mean that anyone upgrading from 0.1 may be a little surprised that the command line options have gone, but I strongly feel this is a better approach. This way, your configuration file can be backed up (or added to version control), and it’s much quicker to run. You can install/upgrade FlynnID using pip: pip install -U flynnid.