Skip to content
Jan Odvarko edited this page Aug 3, 2015 · 1 revision

How to run automated HAR Viewer tests using Selenium.

Selenium Requirements

Running Selenium Tests

  • Set your HAR viewer server base path in selenium/tests/config.php, e.g.: $harviewer_base = "http://legoas/har/viewer/";
  • HAR Viewer must be installed on your server in /har/viewer/ directory, e.g: http://<your-domain>/har/viewer/
  • Run Selenium using: selenium/start-server.bat
  • Change directory to: cd selenium/tests/
  • Run PHP tests: phpunit allTests.php
Clone this wiki locally