{"id":18477082,"url":"https://github.com/thegreatbonnie/puppeteer-web-automation-javascript","last_synced_at":"2026-05-16T13:02:29.841Z","repository":{"id":261257245,"uuid":"882396848","full_name":"TheGreatBonnie/Puppeteer-web-automation-javascript","owner":"TheGreatBonnie","description":"Example code of end to end web automation testing using Puppeteer JavaScript","archived":false,"fork":false,"pushed_at":"2024-11-05T14:37:25.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-13T16:53:46.172Z","etag":null,"topics":["puppeteer","test-automation","testing","testing-tools","web-automation-testing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheGreatBonnie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-11-02T18:11:18.000Z","updated_at":"2024-11-05T14:37:29.000Z","dependencies_parsed_at":"2024-11-05T15:45:43.122Z","dependency_job_id":"90cf07b8-28f4-4df1-8bea-336d8c913dc3","html_url":"https://github.com/TheGreatBonnie/Puppeteer-web-automation-javascript","commit_stats":null,"previous_names":["thegreatbonnie/puppeteer-web-automation-javascript"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheGreatBonnie/Puppeteer-web-automation-javascript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheGreatBonnie%2FPuppeteer-web-automation-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheGreatBonnie%2FPuppeteer-web-automation-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheGreatBonnie%2FPuppeteer-web-automation-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheGreatBonnie%2FPuppeteer-web-automation-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheGreatBonnie","download_url":"https://codeload.github.com/TheGreatBonnie/Puppeteer-web-automation-javascript/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheGreatBonnie%2FPuppeteer-web-automation-javascript/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266586905,"owners_count":23952205,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["puppeteer","test-automation","testing","testing-tools","web-automation-testing"],"created_at":"2024-11-06T11:03:59.989Z","updated_at":"2026-05-16T13:02:29.789Z","avatar_url":"https://github.com/TheGreatBonnie.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Puppeteer Web Automation In JavaScript\nIn this Puppeteer web automation repo, the following use cases have been covered:\n\n- Automated testing of a form by navigating to a webpage.\n- Controlling browser instances and pages for automated tests.\n- Automated DOM manipulation and interaction with a webpage.\n- Taking screenshots of a full page, a specific area, and generating a PDF of a webpage.\n- Automated event handling on a web app.\n- Automated testing using Puppeteer and Cloud Selenium Grid.\n\n# How To Run The Tests\n\n**Step 1**: Clone the repository in your local machine by using the following command in the terminal\n\n```\ngit clone https://github.com/TheGreatBonnie/Puppeteer-web-automation-javascript.git\n```\n\n**Step 2**: Navigate to the root folder of the project and install all the dependencies using the following command\n\n```\nnpm install\n```\n\n**Step 3**: Get the LambdaTest User Name and Access Key by navigating to [LambdaTest Account Page](https://accounts.lambdatest.com/security). Then create an .env file in the root folder and add the LambdaTest User Name and Access Key to the file.\n\n```\nLT_USERNAME=\"Your username\"\nLT_ACCESS_KEY=\"Your access key\"\n```\n\n**Step 4**: Use the commands below to run the tests:\n\n- Automated testing of a form by navigating to a webpage\n   \n    ```\n     npm test formTest.test.js\n     ```\n- Controlling browser instances and pages for automated tests\n\n  ```\n  npm test pageNavigationFunctions.test.js\n  ```\n\n- Automated DOM manipulation and interaction with a webpage.\n\n  ```\n  npm test domManipulationFunctions.test.js\n  ```\n\n- Taking screenshots of a full page, a specific area, and generating a PDF of a webpage.\n  \n  ```\n  npm test screenshotAndPdfFunctions.test.js\n  ```\n\n- Automated event handling on a web app.\n\n  ```\n  npm test eventHandlingFunctions.test.js\n  ```\n\n- Automated testing using Puppeteer and Cloud Selenium Grid.\n\n  ```\n  npm test main.test.js\n  ```\n# Have feedback or need assistance?\n\nFeel free to fork the repo and contribute to make it better! Email to thegreatbonniee@gmail.com for any queries or ping me on the following social media sites:\n\nLinkedIn: [@thegreatbonnie](https://www.linkedin.com/in/thegreatbonnie/)\nTwitter: [@The_GreatBonnie](https://x.com/The_GreatBonnie)\n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthegreatbonnie%2Fpuppeteer-web-automation-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthegreatbonnie%2Fpuppeteer-web-automation-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthegreatbonnie%2Fpuppeteer-web-automation-javascript/lists"}