{"id":13404096,"url":"https://github.com/puppeteer/examples","last_synced_at":"2025-05-14T04:09:35.263Z","repository":{"id":37481305,"uuid":"123316949","full_name":"puppeteer/examples","owner":"puppeteer","description":"Use case-driven examples for using Puppeteer and headless chrome","archived":false,"fork":false,"pushed_at":"2025-03-28T22:50:43.000Z","size":190,"stargazers_count":2389,"open_issues_count":38,"forks_count":305,"subscribers_count":85,"default_branch":"master","last_synced_at":"2025-04-11T14:20:08.942Z","etag":null,"topics":["automation","browser-testing","browser-tools","demos","puppeteer"],"latest_commit_sha":null,"homepage":"https://developers.google.com/web/tools/puppeteer/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/puppeteer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-02-28T17:14:15.000Z","updated_at":"2025-04-10T16:53:03.000Z","dependencies_parsed_at":"2024-08-10T06:01:25.889Z","dependency_job_id":"fedbd1cd-023e-412a-b49b-b728a0d502d0","html_url":"https://github.com/puppeteer/examples","commit_stats":{"total_commits":91,"total_committers":8,"mean_commits":11.375,"dds":0.1208791208791209,"last_synced_commit":"59355609ecb3c2e396a289b28f34d5116fc89b8e"},"previous_names":["googlechromelabs/puppeteer-examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppeteer%2Fexamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppeteer%2Fexamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppeteer%2Fexamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppeteer%2Fexamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/puppeteer","download_url":"https://codeload.github.com/puppeteer/examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254070107,"owners_count":22009559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["automation","browser-testing","browser-tools","demos","puppeteer"],"created_at":"2024-07-30T19:01:38.939Z","updated_at":"2025-05-14T04:09:30.251Z","avatar_url":"https://github.com/puppeteer.png","language":"JavaScript","readme":"## Useful Puppeteer demos!\n\nExamples for using [Puppeteer](https://developers.google.com/web/tools/puppeteer/) to do big, bold things.\n\nOutput from some of the examples:\n\n### [code_coverage.js](./code_coverage.js)\n\nTest lazy loading strategy by seeing CSS/JS code coverage usage across page load.\n\n\u003cimg width=\"500\" alt=\"screen shot 2018-02-26 at 10 20 41 am\" src=\"https://user-images.githubusercontent.com/238208/36687690-2de2bbaa-1adf-11e8-912b-e21cda0160ce.png\"\u003e\n\n### [verify_sw_caching.js](./verify_sw_caching.js)\n\nVerify all the resources you expect are being cached by a service worker for offline.\n\n\u003cimg width=\"500\" alt=\"screen shot 2018-03-01 at 5 09 32 pm\" src=\"https://user-images.githubusercontent.com/238208/36878494-1b4098d6-1d74-11e8-93d2-492e3b2f1877.png\"\u003e\n\n### [google_search_features.js](./google_search_features.js)\n\nGut check your page to make sure it renders correctly for Google Search.\n\n\u003cimg width=\"500\" alt=\"screen shot 2018-03-07 at 12 50 32 pm\" src=\"https://user-images.githubusercontent.com/238208/37125450-804ad8c0-2221-11e8-8c96-7c5af582778f.png\"\u003e\n\n### [lazyimages_without_scroll_events.js](./lazyimages_without_scroll_events.js)\n\nDetermine if your lazy loaded images will be seen correctly by Google Search.\n\n\u003cimg width=\"500\" alt=\"screen shot 2018-10-09 at 12 15 10 pm\" src=\"https://user-images.githubusercontent.com/238208/46697053-98aa5e80-cbc8-11e8-91c3-d5cf7937f3f7.png\"\u003e\n\n### [speech.js](./speech.js)\n\nMake your browser talk.\n\n\u003ca href=\"https://www.youtube.com/watch?v=v5ZXRgzR7Wc\" target=\"_blank\"\u003e\n  \u003cimg width=\"500\" alt=\"Speech demo in action\" src=\"http://img.youtube.com/vi/v5ZXRgzR7Wc/0.jpg\"\u003e\n\u003c/a\u003e\n\n### [pacman.js](./pacman.js)\n\nPlay the Google Pac-Man Doodle.\n\n\u003ca href=\"https://youtu.be/5CihR6Z9sX8\" target=\"_blank\" title=\"\"\u003e\n  \u003cimg width=\"500\" alt=\"ePlaying Puppeteer Pacman\" src=\"https://user-images.githubusercontent.com/238208/38574488-c45df5a0-3cad-11e8-90fe-001afc2d4625.png\"\u003e\n\u003c/a\u003e\n\n### [element-to-pdf.js](./element-to-pdf.js)\n\nTurn a DOM element into a PDF.\n\n\u003cimg width=\"500\" alt=\"elemen-to-pdf output example\" src=\"https://user-images.githubusercontent.com/238208/38771535-bd7b6b44-3fd9-11e8-8b83-80f3131fcb80.png\"\u003e\n\n### [crawlsite.js](./crawlsite.js)\n\nDiscover all the URLs on a site and visualize the subpages.\n\n\u003cimg width=\"500\" alt=\"Crawl a site/SPA\" src=\"https://user-images.githubusercontent.com/238208/38901761-5f387902-4252-11e8-9ce4-aab2661143f4.png\"\u003e\n\n### [side-by-side-pageload.js](./side-by-side-pageload.js)\n\nLoad 2 or more pages side-by-side to visually see the difference in page load. Optional desktop viewport and throttling settings.\n\n\u003cimg width=\"500\" alt=\"Side by side page load\" src=\"https://user-images.githubusercontent.com/238208/39337122-167cc91e-4970-11e8-955c-2e1beeeef6fe.png\"\u003e\n\n### License\n\n[Apache 2.0](./LICENSE) © 2018 Google Inc.\n","funding_links":[],"categories":["JavaScript","\u003ca id=\"1d9dec1320a5d774dc8e0e7604edfcd3\"\u003e\u003c/a\u003e工具-新添加的"],"sub_categories":["\u003ca id=\"8f1b9c5c2737493524809684b934d49a\"\u003e\u003c/a\u003e文章\u0026\u0026视频"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuppeteer%2Fexamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpuppeteer%2Fexamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuppeteer%2Fexamples/lists"}