Installing and Configuring Web Page Archive

Last updated on
29 October 2018

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: 

  1. view web page archive results
    - Allows users to view capture job results.
  2. 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

Page status: No known problems

You can: