Skip to main content

A script to capture SSL Labs server test report screenshots

Project description

SSL Labs Screenshot is a Python script that captures a trimmed screenshot of the SSL Labs report for a given domain.

Requirements

  • Python 3.x
  • Chrome browser (version 89 or later)
  • ChromeDriver

Installation

  1. Install SSL Labs Screenshot using pip:
pip install ssl-labs-screenshot
  1. Download the latest version of ChromeDriver from the following link: https://sites.google.com/chromium.org/driver/downloads
  2. Extract the contents of the downloaded ZIP file to a directory on your system.
  3. Either move the ChromeDriver executable to a directory already in your system's PATH environment variable or add the path to the directory where you extracted the ChromeDriver executable to the PATH variable.

Usage

Run the script with the following command:

ssl-labs-screenshot domain.com

Replace domain.com with the domain you want to test. The script will open a headless Chrome browser and load the SSL Labs report for the domain. It will capture a temporary screenshot of the report and save it as a PNG file in the same directory as the script, with the name domain_report_tmp.png. The script will delete the temporary screenshot after the trimmed image is created with the name domain_report.png

Limitations

The script only captures the first server's report for domains with multiple servers.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ssl-labs-screenshot-1.0.4.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

ssl_labs_screenshot-1.0.4-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page