DOM testing library inspired selectors for Robot Framework SeleniumLibrary.
Project description
rf-se-dtl-selectors-plugin
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
Close
Hashes for rf-se-dtl-selectors-plugin-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2451e19f16e936e55a4e0ee028b3d365de35c9b9674c7e7ae6b30e51d99ece59 |
|
MD5 | 8c1fd268e98c2be11804169e2a0a1cd8 |
|
BLAKE2b-256 | 3c516fc512c321279f8b0a5d4c9f1bcca99fcacab85e170656a47ff260572df1 |