{"id":18789737,"url":"https://github.com/jimmy-ly00/pageload-har-export","last_synced_at":"2026-05-08T14:50:10.884Z","repository":{"id":181402339,"uuid":"98061831","full_name":"jimmy-ly00/pageload-har-export","owner":"jimmy-ly00","description":"Automate network Page Load testing with Firefox + Selenium IDE + har-export-trigger","archived":false,"fork":false,"pushed_at":"2017-08-02T22:21:40.000Z","size":242,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-17T11:50:31.568Z","etag":null,"topics":["firefox","har","linux","performance-testing","python","selenium-ide","testing-tools"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jimmy-ly00.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-07-22T22:45:55.000Z","updated_at":"2019-01-11T17:52:35.000Z","dependencies_parsed_at":"2023-07-15T11:39:16.334Z","dependency_job_id":null,"html_url":"https://github.com/jimmy-ly00/pageload-har-export","commit_stats":null,"previous_names":["jimmy-ly00/pageload-har-export"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jimmy-ly00/pageload-har-export","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimmy-ly00%2Fpageload-har-export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimmy-ly00%2Fpageload-har-export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimmy-ly00%2Fpageload-har-export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimmy-ly00%2Fpageload-har-export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jimmy-ly00","download_url":"https://codeload.github.com/jimmy-ly00/pageload-har-export/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimmy-ly00%2Fpageload-har-export/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32785398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["firefox","har","linux","performance-testing","python","selenium-ide","testing-tools"],"created_at":"2024-11-07T21:08:30.757Z","updated_at":"2026-05-08T14:50:10.861Z","avatar_url":"https://github.com/jimmy-ly00.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Page Load Testing\nAutomates page load testing with Firefox + Selenium IDE + har-export-trigger. Exports to HAR to view page timings and resource loading times.\nOriginally used to test websites against a mid-latency network.\n\nRaw sampled HAR data also provided.\n\nNote: It does not use page ready method as it is unreliable (especially for JavaScript rendered websites) because it sometimes does not wait for DOM completion\n## Prerequisite\n```\npip install haralyzer\n```\n**Optional** (for graph.py script, can be omitted):\n```\npip install matplotlib (may require sudo apt-get install python-tk)\npip install numpy\n```\n## Environment\nLinux and Firefox 54 (should work with 42+)\n\n## Installation - Firefox and Selenium IDE setup\n### Firefox\n#### 1. about:debugging\nLoad temporary add-on: **harexporttrigger-0.5.0-beta.10.xpi** (currently no signed version by developer)\n\t\n#### 2. about:config\nuse these settings:\n````\nextensions.netmonitor.har.contentAPIToken = \"test\"\nextensions.netmonitor.har.enableAutomation = \"true\"\n````\n#### 3. (Optional) In Firefox Developer Tools (F12):\n```settings \u003e tick \"disable HTTP Cache\"```\n\n### Selenium IDE\nDownload and install https://addons.mozilla.org/en-GB/firefox/addon/selenium-ide/ \n\n\n## How to use\n1. Open Firefox with the above settings\n2. Open Firefox Developer Tools and then visit a website for testing. Genereated HAR files are located at (usually) ```~/.mozilla/firefox/[user]/har/logs```\n4. To automate using Selenium script:\n    1. Go to about:addons and Selenium IDE \"Preferences\"\n\t  2. Under \"Selenium Core Extensions\", select **user-extension.js** as provided (make sure while.js is in the same directory)\n    3. Go to ```Firefox \u003e Tools \u003e Selenium IDE ```\n\t  4. Right click \"Add Test Case\" and select the **selenium** file as provided\n\t  5. Run test case\n5. Put **graph.py** script inside ~/.mozilla/firefox/[user]/har/logs folder and run ``` ./graph.py ```\n\n\n## Resources\nhttps://github.com/firebug/har-export-trigger\n\nhttps://addons.mozilla.org/en-GB/firefox/addon/selenium-ide/\n\nhttp://www.software-testing-tutorials-automation.com/2013/07/example-of-while-and-endwhile-loop.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimmy-ly00%2Fpageload-har-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjimmy-ly00%2Fpageload-har-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimmy-ly00%2Fpageload-har-export/lists"}