GithubHelp home page GithubHelp logo

jeeftor / ansible-role-selenium Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arknoll/ansible-role-selenium

0.0 2.0 0.0 32 KB

Ansible Role Selenium

Home Page: https://galaxy.ansible.com/list#/roles/4340

License: Other

Shell 100.00%

ansible-role-selenium's Introduction

selenium Build Status

Set up selenium and Firefox for running selenium tests.

Requirements

  • java

Variables

  • selenium_install_dir: [default: /opt] Install directory
  • selenium_version: [default: 2.53.0] Install version
  • selenium_install_firefox: [default: no] Whether to install FireFox
  • selenium_install_chrome: [default: yes] Whether to install Google Chrome

Dependencies

None

Example

---
- hosts: all
  roles:
  - selenium

Start/Stop/Restart Selenium

$ service selenium start
$ service selenium stop
$ service selenium restart

Known issue with Firefox

For some OS combinations the package manager version of Firefox doesn't work appropriately with Selenium. In these circumstances you may see an error like:

WebDriver\Exception\UnknownError: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:

Chrome and chromedriver don't appear to have this issue. If possible, use Chrome. If you still want to use firefox, then I suggest using https://galaxy.ansible.com/arknoll/firefox/ to install an older version of firefox. (38.0 worked for me on Ubuntu 16.04).

License and Author

Author:: Alex Knoll ([email protected])

Copyright:: 2015, Alex Knoll

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Contributing

We welcome contributed improvements and bug fixes via the usual workflow:

  1. Fork this repository
  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 a new pull request

ansible-role-selenium's People

Contributors

alexskrypnyk avatar arknoll avatar geerlingguy avatar ian-rose avatar kporras07 avatar sguter90 avatar

Watchers

 avatar  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.