{"id":20618128,"url":"https://github.com/applitools/example-playwright-csharp","last_synced_at":"2025-03-06T19:43:14.572Z","repository":{"id":177387184,"uuid":"657202059","full_name":"applitools/example-playwright-csharp","owner":"applitools","description":"Applitools Example: Playwright in C#","archived":false,"fork":false,"pushed_at":"2023-06-29T18:58:48.000Z","size":27,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-17T04:47:28.591Z","etag":null,"topics":["applitools","applitools-example","applitools-eyes","applitools-tutorial","csharp","dotnet","execution-cloud","nunit","playwright","test-automation","tutorial","ultrafast-grid","visual-testing"],"latest_commit_sha":null,"homepage":"https://applitools.com/tutorials/quickstart/web/playwright/csharp","language":"C#","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":"2023-06-22T14:35:52.000Z","updated_at":"2024-12-10T04:09:48.000Z","dependencies_parsed_at":"2023-07-09T17:45:18.068Z","dependency_job_id":null,"html_url":"https://github.com/applitools/example-playwright-csharp","commit_stats":null,"previous_names":["applitools/example-playwright-csharp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-playwright-csharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-playwright-csharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-playwright-csharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-playwright-csharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/applitools","download_url":"https://codeload.github.com/applitools/example-playwright-csharp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242277647,"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","csharp","dotnet","execution-cloud","nunit","playwright","test-automation","tutorial","ultrafast-grid","visual-testing"],"created_at":"2024-11-16T12:07:13.375Z","updated_at":"2025-03-06T19:43:14.565Z","avatar_url":"https://github.com/applitools.png","language":"C#","readme":"# Applitools Example: Playwright in C#\n\nThis is the example project for the [Playwright C# tutorial](https://applitools.com/tutorials/quickstart/web/playwright/csharp).\nIt shows how to start automating visual tests\nwith [Applitools Eyes](https://applitools.com/platform/eyes/)\nand [Playwright](https://playwright.dev/dotnet) in C#.\n\nIt uses:\n\n* [C#](https://learn.microsoft.com/en-us/dotnet/csharp/) as the programming language\n* [Playwright](https://playwright.dev/dotnet) for browser automation\n* [Chromium](https://www.chromium.org/chromium-projects/) as the local browser for testing\n* [NUnit](https://nunit.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\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 good C# editor, such as [Microsoft Visual Studio](https://visualstudio.microsoft.com/)\n   or [Visual Studio Code](https://code.visualstudio.com/docs/languages/csharp).\n3. The [.NET 7](https://dotnet.microsoft.com/en-us/download/dotnet/7.0) SDK (which may come bundled with Visual Studio).\n\nThe main test case is [`AcmeBankTests.cs`](Applitools.Example.Tests/AcmeBankTests.cs).\nBy default, the project will run tests with Ultrafast Grid.\nYou can change these settings in the test class.\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```\ndotnet build\npwsh Applitools.Example.Tests/bin/Debug/net7.0/playwright.ps1 install\ndotnet test\n```\n\nIf `pwsh` is not available,\nyou must [install PowerShell](https://docs.microsoft.com/powershell/scripting/install/installing-powershell).\n\n**For full instructions on running this project, take our\n[Playwright C# tutorial](https://applitools.com/tutorials/quickstart/web/playwright/csharp)!**\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplitools%2Fexample-playwright-csharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapplitools%2Fexample-playwright-csharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplitools%2Fexample-playwright-csharp/lists"}