Installing and Configuring Web Page Archive
Installing Web Page Archive Module
To install web_page_archive module you must manage your Drupal dependencies with composer.
You can install the module using the following the command:
composer require "drupal/web_page_archive"
Then enable web_page_archive module via usual methods.
Note: if you intend on using screenshot capturing you must also include the wpa_screenshot_capture module in your composer file to grab the necessary dependencies.
composer require "drupal/wpa_screenshot_capture"
Installing the HTML Capture Utility
If you wish to use web page archive to capture raw HTML or URLs, there are no additional dependencies needed for HTML capturing. Simply enable the wpa_html_capture submodule and you are good to go.
Installing the Screenshot Capture Utility
You can use web page archive to capture screenshots of URLs. You have two browser options. Please see the following guides for getting each setup:
1. Installing Headless Chrome or Chromium
2. Installing PhantomJS
Additionally if you want to perform pixel comparisons between screenshots you can do so by Installing ImageMagick.
User Permissions
Web Page Archive exposes the following permissions:
- view web page archive results
- Allows users to view capture job results. - administer web page archive
- Allows users to add/edit/delete capture jobs and settings. This should only be granted to trusted users as it has security implications
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion