Coder Social home page Coder Social logo

selenium_vagrant's Introduction

Intro

This project contains Vagrant and Chef resources for setting up a box in Virtual Box running Java, Selenium, Firefox, Phantom JS, and Chrome under Linux and under Windows 7 with Spoon.Net and Selenium, Firefox, Chrome and IE (more about IE versions below).

Environment

Based on the BOX_NAME environment the following base box is used

  • ubuntu 12.04, ubuntu 14.05 (32- and 64-bit) base box with xvfb, xvnc, java runtime , selenium, firefox
  • centos 65 base box with docker, java runtime
  • centos 7 unfinished
  • windows 7 base box with spoon, exploring available spoon images for selenium-grid and ie,9,10,11

The BOX_GUI environment setting is to toggle the gui(less)mode - important on windows box for spoon.Net testing , though not very stable.

The VAGRANT_USE_PROXY environment entry together with HTTP_PROXY are helpful to deal with firewall development machine setting.

Open Items

There is work in progress on adding chrome recipes to ubuntu, testing on centos, better error detection on windows7, especially with spoon.Net layer.

Note

There is a rich collection of bare bones Windows Vagrant boxes and Packer image templates based on images officially distributed by Microsot intended primarily for browser testing in speciic releases of the Internet Explorer. These boxes, especiallyolder ones, vary in how well winrm automation is supported "out of the box". Practically every one of those base boxes is somewhat large: multi-gigabyte.

With Chef, a big number of dependency cookbooks, especially with centos, is required. These are currently placed in the cookbooks directory which is added to .gitignore: apt, aufs, base, build-essential, chef-nssm, chef-selenium, chef_handler, custom_cpan_modules, databag_manager, device-mapper, dmg, docker, docker_registry, dpkg_autostart, firebug, firefox, git, gitignote.txt, golang, homebrew, hostsfile, iptables, iptables-ng, java, log4j, lxc, modules, ms_dotnet2, ms_dotnet4, ms_dotnet45, ohai, polipo, powershell, python, runit, sample, selenium, selenium_hub, selenium_node, spoon, sysctl, tweak_proxy_settings, vnc, windows, wrapper_hostsfile, wrapper_java, wrapper_yum, xvfb, yum, yum-epel

Occasionally this may lead to a error in provisioning e.g. conflict between build-essential docker dependency that is processed on a windows guest as it were a mac.

See also

Author

Serguei Kouzmine

selenium_vagrant's People

Contributors

sergueik avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

selenium_vagrant's Issues

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.