# Install Python packages
pip install -r requirements.txtpython test_wpaa.pypython run_web_interface.pyAccess http://127.0.0.1:5000 in your browser.
python --versionPython 3.7 or higher is required.
# Create virtual environment
python -m venv wpaa_env
# Activate virtual environment
wpaa_env\Scripts\activate
# Install packages
pip install -r requirements.txt- Download Windows installer from Graphviz official website
- Add bin directory to system PATH after installation
- Example:
C:\Program Files\Graphviz\bin
- Example:
Required for dynamic webpage analysis.
- Download from ChromeDriver website
- Select version compatible with your Chrome browser
- Add executable to PATH or save in project directory
python run_web_interface.py# Basic analysis
python wpaa_run.py --urls https://example.com
# Advanced options
python wpaa_run.py --urls https://example.com --export-html --compare-changes --show-performancepip install --upgrade -r requirements.txt- Verify Graphviz is properly installed
- Check that Graphviz bin directory is added to PATH environment variable
- Verify Chrome browser is installed
- Check ChromeDriver and Chrome version compatibility
- Ensure ChromeDriver is in PATH
python wpaa_run.py --urls https://news.ycombinator.compython wpaa_run.py --urls https://github.com --export-html# First run (create snapshot)
python wpaa_run.py --urls https://example.com --compare-changes
# Second run (detect changes)
python wpaa_run.py --urls https://example.com --compare-changespython wpaa_run.py --urls https://example.com --exclude script style meta --max-depth 5 --show-performanceFiles generated after analysis:
tree_*.svg- SVG format tree structuretree_*.html- Interactive HTML viewertree_*.csv- CSV format datatree_*.md- Markdown reportcache/- HTML cache filessnapshots/- Snapshots for change tracking