Quick start
Yet another selenium wd wrapper
1. Requirements
python >= 3.6
pyenv is recommended (pyenv & pyenv virtualenv plugin)
Docker & image selenoid/vnc_chrome:##.# (https://hub.docker.com/r/selenoid/vnc_chrome)
Or selenium-server
2. Install
Build from source:
From pypi:
3. Setup
This creates configuration file _wasd_settings.yml
, basic project structure and sample test.
4. Configure
5. Write a test
Create file tests/test_foo.py
:
6. Run
Use pytest
for running tests:
Add --steps
option for verbose log.
7. CLI options
$ pytest --env=<env>
- run tests with settings file <env>.yml
from _env
dir
$ pytest --listener
- highlight found element during runtime
$ pytest --save-screenshot
- save screenshot on failure in _output
dir
$ pytest --steps
- enable verbose log
Last updated