Skip to main content

Miq Selenium Server for local testing

Project description

miqsel

Miq Selenium Server

Python Versions Build Status License: GPLV3 PyPI version Downloads Code style: black

Simple command line application to spin selenium docker container and provide vnc access.

Prerequisite:

  1. Docker:

    For setting docker environment follow below steps:

    • Fedora

      • Set Repository:
      sudo dnf -y install dnf-plugins-core
      sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
      
      • Install below packages:
      sudo dnf -y install docker-ce
      sudo systemctl start docker
      sudo systemctl enable docker
      
      • Run docker with non-root User:
      sudo groupadd docker
      sudo usermod -aG docker <non-root-user>
      
    • Ubuntu and others

  2. TigerVNC Versions(based on various Distro's):

Installation:

pip install miqsel --user

or

 pip install git+https://github.com/digitronik/miqsel#egg=miqsel --user

Usage:

Usage: miqsel [OPTIONS] COMMAND [ARGS]...

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  browser   Set Browser
  config    Configure Miq Selenium webdriver
  hostname  Miq Selenium Server Hostname
  start     Start Miq Selenium Server
  status    Status of Miq Selenium Server
  stop      Stop Miq Selenium Server
  urls      VNC and Command Executor URL's
  viewer    VNC viewer
  • Note: If the project directory not set then you need to run commands from integration_tests directory.
  • set-project-directory:
    cd `<path>/integration_tests`
    miqsel config
    # follow options
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

miqsel-1.4.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distribution

miqsel-1.4-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page