Skip to content

AlbanAndrieu/ansible-selenium

Repository files navigation

Nabla roles/alban_andrieu_selenium

This file was generated by Ansigenome. Do not edit this file directly but instead have a look at the files in the ./meta/ directory.

License Branch Donate Ansible Galaxy Platform Platform Platform Platform

Describe your role in a few paragraphs....

Installation

This role requires at least Ansible v2.3.0.0. To install it, run:

Using ansible-galaxy:

$ ansible-galaxy install alban.andrieu.selenium

Using arm (Ansible Role Manager):

$ arm install alban.andrieu.selenium

Using git:

$ git clone https://github.com/AlbanAndrieu/ansible-selenium.git

Documentation

More information about alban.andrieu.selenium can be found in the TODO official alban.andrieu.selenium documentation.

Role variables

List of default variables available in the inventory:

---
# Package states: present or installed or latest
selenium_pkg_state: present

selenium_enabled: yes                       # Enable module
selenium_server_major_version: "2.47"       # Selenium client major version
selenium_server_minor_version: "1"         # Selenium client minor version
selenium_server_version: "{{ selenium_server_major_version }}.{{ selenium_server_minor_version }}"     # Selenium client version

selenium_mirror: "http://selenium-release.storage.googleapis.com/{{ selenium_server_major_version }}"
selenium_download_url: "{{ selenium_mirror }}/{{ selenium_jar_file }}"
selenium_jar_file: "selenium-server-standalone-{{ selenium_server_version }}.jar"
selenium_server_path: '/usr/local/lib'
#todo used in jenkins /var/lib/selenium/selenium.jar

selenium_sel_role: 'hub' # or node

selenium_hub: ''
#node -hub http://home.nabla.mobi:4444/wd/register -browser browserName=firefox,version=38.0,firefox_binary=/usr/bin/firefox,maxInstances=1,platform=LINUX -browser browserName=chrome,version=39.0.2171.95,chrome_binary=/opt/google/chrome/chrome,maxInstances=1,platform=LINUX
selenium_java_opts: ''
selenium_extra_args: '' #-trustAllSSLCertificates
selenium_port: '4444'
selenium_dir_tmp: "/tmp" # or override with "{{ tempdir.stdout }} in order to have be sure to download the file"

docker_files_generated_directory: "./"
docker_files_enable: no
docker_volume_directory: "{{ selenium_server_path }}"
docker_working_directory: "/home/vagrant"
docker_image_name: "nabla/ansible-selenium"

Detailed usage guide

Describe how to use in more detail...

Testing

$ ansible-galaxy install alban.andrieu.selenium
$ vagrant up

Contributing

The issue tracker is the preferred channel for bug reports, features requests and submitting pull requests.

For pull requests, editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at http://editorconfig.org.

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Authors and license

roles/alban_andrieu_selenium role was written by:

License

Feedback, bug-reports, requests, ...

Are welcome!


This role is part of the Nabla project. README generated by Ansigenome.


Alban Andrieu

linkedin

About

Ansible role to manage selenium installation for jenkins

Resources

License

Stars

Watchers

Forks

Packages

No packages published