Skip to main content

Miq Selenium Server for local testing

Project description

Miq Selenium Server

This is a simple script to make my life easy. I want to run selenium server locally but don't want to use full wharf. I want to check running container ip's and ports also point them in env.ymal. I want to select browser with a single command.

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 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:
  --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.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

miqsel-1.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file miqsel-1.2.tar.gz.

File metadata

  • Download URL: miqsel-1.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for miqsel-1.2.tar.gz
Algorithm Hash digest
SHA256 cccb841c03e65d8dd91b90b6f365cac9a70f334f6977eb1ad35c64b43b78cdcc
MD5 682d94f89b603cfa645e521f83b51c4f
BLAKE2b-256 fb8544b34e474130c8c2f71aedbc05ed038fe8c66e6655b48c53b6819ad6e944

See more details on using hashes here.

File details

Details for the file miqsel-1.2-py3-none-any.whl.

File metadata

  • Download URL: miqsel-1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for miqsel-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6af65e85f750c01e9a1f91e9cc1333333a66c2bfc1eafe754328cd8f7cb6f41d
MD5 d3f645bbe2cdeb1651ec217c7008df2b
BLAKE2b-256 eeaf5e1c15c414b5809c14febc88df6b9ad2235313f2c24d43a9cb5c763cfec7

See more details on using hashes here.

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