Giter VIP home page Giter VIP logo

flynnid's Introduction

FlynnID

FlynnID registers Selenium nodes to a running Selenium Grid hub.

Installation

From PyPI:

$ pip install flynnid

From source:

$ python setup.py install

Running FlynnID

FlynnID requires either a configuration file in JSON format or command line arguments. Using a configuration file allows for registration of one or more multiple nodes, whereas the command line arguments only allow for registration of a single node.

For full usage details run the following command:

$ flynnid --help

Usage: flynnid config [options]

Options:
  --version          show program's version number and exit
  -h, --help         show this help message and exit
  -v, --verbose      increase verbosity
  --force            force registration of node(s)
  --hubhost=str      host selenium grid is listening on [default: localhost]
  --hubport=num      port selenium grid is listening on [default: 4444]
  --nodeconfig=path  configuration file for nodes to register.
  --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: Registering a single node from the command line

flynnid --nodeport=8080 --browsername=android --browserver=2.3.3 --platform=ANDROID

Example: Registering multiple nodes from a configuration file

The following would register two AndroidDriver nodes on a local Selenium Grid hub:

flynnid config.json

Where config.json contains:

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

flynnid's People

Contributors

davehunt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.