{"id":20618097,"url":"https://github.com/applitools/example-selenium-javascript-mocha","last_synced_at":"2025-08-27T02:23:25.793Z","repository":{"id":38822885,"uuid":"178297015","full_name":"applitools/example-selenium-javascript-mocha","owner":"applitools","description":"Applitools Example: Selenium in JavaScript with Mocha","archived":false,"fork":false,"pushed_at":"2023-07-19T02:14:46.000Z","size":557,"stargazers_count":0,"open_issues_count":2,"forks_count":11,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-15T11:46:38.699Z","etag":null,"topics":["applitools","applitools-example","applitools-eyes","applitools-tutorial","execution-cloud","javascript","mocha","selenium","selenium-javascript","selenium-webdriver","test-automation","visual-testing"],"latest_commit_sha":null,"homepage":"https://applitools.com/tutorials/quickstart/web/selenium/javascript/mocha","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,"zenodo":null}},"created_at":"2019-03-28T23:23:53.000Z","updated_at":"2024-01-07T14:26:09.000Z","dependencies_parsed_at":"2025-04-15T11:48:26.492Z","dependency_job_id":null,"html_url":"https://github.com/applitools/example-selenium-javascript-mocha","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/applitools/example-selenium-javascript-mocha","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-selenium-javascript-mocha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-selenium-javascript-mocha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-selenium-javascript-mocha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-selenium-javascript-mocha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/applitools","download_url":"https://codeload.github.com/applitools/example-selenium-javascript-mocha/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-selenium-javascript-mocha/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272280741,"owners_count":24906212,"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-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["applitools","applitools-example","applitools-eyes","applitools-tutorial","execution-cloud","javascript","mocha","selenium","selenium-javascript","selenium-webdriver","test-automation","visual-testing"],"created_at":"2024-11-16T12:07:06.231Z","updated_at":"2025-08-27T02:23:25.773Z","avatar_url":"https://github.com/applitools.png","language":"JavaScript","readme":"# Applitools Example: Selenium in JavaScript with Mocha\n\nThis is the example project for the [Selenium JavaScript Mocha tutorial](https://applitools.com/tutorials/quickstart/web/selenium/javascript/mocha).\nIt shows how to start automating visual tests with the [Applitools Eyes](https://applitools.com/platform/eyes/)\nand [Selenium WebDriver](https://www.selenium.dev/) in JavaScript.\n\nIt uses:\n\n* [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript) as the programming language\n* [Selenium WebDriver](https://www.selenium.dev/) for browser automation\n* [Google Chrome](https://www.google.com/chrome/downloads/) as the local browser for testing\n* [npm](https://www.npmjs.com/) for dependency management\n* [Mocha](https://mochajs.org/) as the core test framework\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* [Applitools Execution Cloud](https://applitools.com/platform/execution-cloud/) for self-healing remote WebDriver sessions\n\nTo run this example project, you'll need:\n\n1. A free [Applitools account](https://auth.applitools.com/users/register).\n2. [Node.js](https://nodejs.org/en/) version 12 or higher.\n3. A good JavaScript editor, such as [Visual Studio Code](https://code.visualstudio.com/docs/languages/javascript).\n4. An up-to-date version of [Google Chrome](https://www.google.com/chrome/downloads/).\n5. A corresponding version of [ChromeDriver](https://chromedriver.chromium.org/downloads).\n\nTo install project dependencies, run:\n\n```\nnpm install\n```\n\nThe main test case is [`acme-bank.test.js`](test/acme-bank.test.js).\nBy default, the project will run tests with Ultrafast Grid but not Execution Cloud.\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[Selenium JavaScript Mocha tutorial](https://applitools.com/tutorials/quickstart/web/selenium/javascript/mocha)!**\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplitools%2Fexample-selenium-javascript-mocha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapplitools%2Fexample-selenium-javascript-mocha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplitools%2Fexample-selenium-javascript-mocha/lists"}