Skip to main content

perftracker-cp-crawler

perftracker-cp-crawler - a set of libraries and scripts to crawl web UI Control Panels (like Wordpress), integrated with the perftracker

Features

  • selenium-based framework (on top of Chrome and Firefox browsers)
  • python-based browser simulators
  • page response time measurement
  • individual HTTP request response time measurement
  • export results to the perftracker server
  • browser memory consumption tracking
  • automatic login/logout with customizable:
    • login, password and submit buttons xpath/id/class names
    • automatic menu items recognition with customizsable:
    • menu item xpath
    • sub-menu item xpath
  • page rendering phases recognition:
    • browser timing interface support
    • ajax request completion based on browser logs and pending HTTP requests
    • HTTP requests whitelisting to bypass websockets and long polls completion wait
  • advanced reporting:
    • waterfall based requests view with information about requests size, compression, duration, status, etc
    • pages summary
    • HTML report with pages screenshot

Installation

MacOS

pip install -r requirements.txt
brew cask install chromedriver
chromedriver --version
brew cask install google-chrome
# install Google Chrome

Linux

pip install -r requirements.txt
yum install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
yum install chromedriver

Examples

Run selenium-based test on a real WordPress Admin panel:

python3 ./examples/pt-wp-crawler.py -m -U user -P user https://demo.wpjobboard.net/wp-login.php

Contributing a patch

Make a change and test your code before commit:

python ./test.py

Metadata

Release files for perftracker-cp-crawler 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for perftracker-cp-crawler 0.1.6
File Size Uploaded Provenance
perftracker-cp-crawler-0.1.6.tar.gz 45.2 kB Without provenance Details

Release files / perftracker-cp-crawler-0.1.6.tar.gz

Download URL perftracker-cp-crawler-0.1.6.tar.gz
Size 45.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ea4b48a2a112e932e6ba602f839a710e2f3cbaa8507faf31fedc8401704d081d
BLAKE2b-256 checksum
How to use checksums
bf075f038826ea625c0f98edc5ffe7fc334667e4ad6d4eb29442fade964a0337
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Security for perftracker-cp-crawler 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page