FlynnID 0.2

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.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
    "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.

This entry was posted in Automation, Mozilla, QMO, Selenium and tagged , , , . Bookmark the permalink.

2 Responses to FlynnID 0.2

  1. Alex Vincent says:

    Be careful not to get a Clu. They have a legacy of deadbeat dads. :-)

  2. Pingback: A Smattering of Selenium #106 « Official Selenium Blog

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">