{"id":20618103,"url":"https://github.com/applitools/example-puppeteer-javascript","last_synced_at":"2025-03-06T19:43:09.439Z","repository":{"id":52870620,"uuid":"314282634","full_name":"applitools/example-puppeteer-javascript","owner":"applitools","description":"Applitools Example: Puppeteer in JavaScript","archived":false,"fork":false,"pushed_at":"2023-06-29T19:02:19.000Z","size":170,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-01-17T04:47:16.465Z","etag":null,"topics":["applitools","applitools-example","applitools-eyes","applitools-tutorial","javascript","puppeteer","test-automation","tutorial","ultrafast-grid","visual-testing"],"latest_commit_sha":null,"homepage":"https://applitools.com/tutorials/quickstart/web/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/applitools.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-19T15:04:04.000Z","updated_at":"2023-05-12T23:10:41.000Z","dependencies_parsed_at":"2025-01-17T04:46:31.642Z","dependency_job_id":"df46fe64-c847-4460-8b00-6d295c8ddf81","html_url":"https://github.com/applitools/example-puppeteer-javascript","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-puppeteer-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-puppeteer-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-puppeteer-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-puppeteer-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/applitools","download_url":"https://codeload.github.com/applitools/example-puppeteer-javascript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242277605,"owners_count":20101535,"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":["applitools","applitools-example","applitools-eyes","applitools-tutorial","javascript","puppeteer","test-automation","tutorial","ultrafast-grid","visual-testing"],"created_at":"2024-11-16T12:07:07.621Z","updated_at":"2025-03-06T19:43:09.413Z","avatar_url":"https://github.com/applitools.png","language":"JavaScript","readme":"# Applitools Example: Puppeteer in JavaScript\n\nThis is the example project for the [Puppeteer JavaScript tutorial](https://applitools.com/tutorials/quickstart/web/puppeteer).\nIt shows how to start automating visual tests\nwith [Applitools Eyes](https://applitools.com/platform/eyes/)\nand [Puppeteer](https://pptr.dev/) in JavaScript.\n\nIt uses:\n\n* [JavaScript](https://www.javascript.com/) as the programming language\n* [Puppeteer](https://pptr.dev/) for browser automation\n* [Mocha](https://mochajs.org/) as the core test framework\n* [Chromium](https://www.chromium.org/chromium-projects/) as the local browser for testing\n* [npm](https://www.npmjs.com/) for dependency management\n* [Applitools Eyes](https://applitools.com/platform/eyes/) for visual testing\n\nIt can also run tests with:\n\n* [Applitools Ultrafast Grid](https://applitools.com/platform/ultrafast-grid/) for cross-browser execution\n\nTo run this example project, you'll need:\n\n1. An [Applitools account](https://auth.applitools.com/users/register), which you can register for free\n2. A recent version of [Node.js](https://nodejs.org/en/download/)\n3. A good JavaScript editor like [Visual Studio Code](https://code.visualstudio.com/docs/languages/typescript)\n\nTo install dependencies, run:\n\n```\nnpm install\n```\n\nWhen this command installs Puppeteer, it will also automatically install Chromium.\n\nThe main test case spec is [`acme-bank.test.js`](test/acme-bank.test.js).\nBy default, the project will run tests with Ultrafast Grid.\nYou can change these settings in the test file.\n\nTo execute tests, set the `APPLITOOLS_API_KEY` environment variable\nto your [account's API key](https://applitools.com/tutorials/guides/getting-started/registering-an-account),\nand then run:\n\n```\nnpm test\n```\n\n**For full instructions on running this project, take our\n[Puppeteer JavaScript tutorial](https://applitools.com/tutorials/quickstart/web/puppeteer)!**\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplitools%2Fexample-puppeteer-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapplitools%2Fexample-puppeteer-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplitools%2Fexample-puppeteer-javascript/lists"}