Clone repository.
% python3 -m venv .venv
% source .venv/bin/activate
pip install -r requirements.txt
Contains the login function.
In the cnb_selenium_testing folder create a .env file with the following content:
- adminid=your_cnb_admin_id
- pwd=your_cnb_password
It is designed for:
- Chrome only
- visible browser mode
- prompted battery code
- order-independent dispatch from
p.test-name - default/correct strategies
- 5-second wait before closing the test browser after battery completion
- shared configurable scraper
You also need your existing auth/login.py module available for scraping, because the scraper imports:
from auth.login import selenium_loginFrom inside this folder:
python runner.pyYou will be prompted for:
Subject ID / subid
Battery Code
output/<timestamp>_<subid>/
run_*.log
battery_state.json
completed_tests.json
scrape_results.json
screenshots/
html/
CSV files are currently written in the working directory as:
er40_results.csvcpw_results.csvvsplot_results.csv