Skip to main content

DOM testing library inspired selectors for Robot Framework SeleniumLibrary.

Project description

rf-se-dtl-selectors-plugin

Build Status

DOM testing library inspired selectors for Robot Framework SeleniumLibrary.

Installation

To install this plugin from PyPI, run:

pip install rf-se-dtl-selectors-plugin

Usage

In order to use selector provided by this plugin, load SeleniumLibrary with TestingLibrarySelectorsPlugin in the plugin array:

*** Settings ***
Library         SeleniumLibrary    plugins=TestingLibrarySelectorsPlugin

The plugin provides label, testid, text, and title selectors. See acceptance_tests directory for usage examples.

Testing

Check and automatically fix formatting with:

pycodestyle TestingLibrarySelectorsPlugin
autopep8 -aaar --in-place TestingLibrarySelectorsPlugin

Run static analysis with:

pylint -E --enable=invalid-name,unused-import,useless-object-inheritance TestingLibrarySelectorsPlugin

Run acceptance tests in Docker container:

# Build image
docker build . -t atest

# Run tests
docker run --rm atest

# Run tests and get test output to ./out
docker run -v $(pwd)/out:/out --rm atest -d /out -L TRACE:INFO

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

rf-se-dtl-selectors-plugin-0.1.2.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file rf-se-dtl-selectors-plugin-0.1.2.tar.gz.

File metadata

  • Download URL: rf-se-dtl-selectors-plugin-0.1.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

File hashes

Hashes for rf-se-dtl-selectors-plugin-0.1.2.tar.gz
Algorithm Hash digest
SHA256 bd588cc9cac2e9775028acbf75bb73f994ca7f1e578f6460a931ea3463a2d087
MD5 4a6d75040bd637fc01e9837a3014e788
BLAKE2b-256 a2d7d086d81187773bb3930c6bf1bece4874b832c79160ad1ed905a6d27850a0

See more details on using hashes here.

Supported by

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