Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

perftracker-cp-crawler

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

perftracker-cp-crawler

Python package with the perftracker control panels crawler

  • 0.1.6
  • PyPI
  • Socket score

Maintainers
1

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc