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. As I want to run selenium server locally but don't want to use wharf. I don't want to check docker ip's and ports; I want to overwrite to my env.ymal. I want to select my browser with a single command. Simple command line application should spin selenium docker container and give me vnc access and solve my problems.

Prerequisite:

  1. Docker:

    I think you have a docker environment already setup. if not you can follow.

    • fedora

      • set repo
      sudo dnf -y install dnf-plugins-core
      sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
      
      • Install
      sudo dnf -y install docker-ce
      sudo systemctl start docker
      sudo systemctl enable docker
      
      • Non root-user
      sudo usermod -aG docker <your-user-name>
      
    • ubuntu and others

  2. TigerVNC:

    • Fedora:
      sudo dnf install tigervnc
      
    • Other:

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
  • 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
    # fallow 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.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

miqsel-1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: miqsel-1.0.tar.gz
  • Upload date:
  • Size: 5.1 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.1

File hashes

Hashes for miqsel-1.0.tar.gz
Algorithm Hash digest
SHA256 ce2550d08aff4c8b6d49e4d06d94aff8c88b134cf9644f95df19d1a610f2ee6e
MD5 59e9944738a0f1ab07fce84058488f46
BLAKE2b-256 b72fb0811c1e9210ffef81c0ed2d301636b9c8c70874fb9c33e8b7d340d534de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: miqsel-1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 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.1

File hashes

Hashes for miqsel-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 61ff41209128884cba219ac8bd99b13573cf4740756144c01f94c31800aaa573
MD5 48636893d521e129c29a29ed888352dd
BLAKE2b-256 983ce0c2b96c7b045ac39362e7dfe1366ad581413325969aa45a36a8c8154057

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