Chuyển đến nội dung chính

Bài đăng

Đang hiển thị bài đăng từ Tháng 10, 2024

Playwright là gì? - Part 1

Playwright là gì? Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API. Playwright is built to enable cross-browser web automation that is ever-green, capable, reliable and fast. Playwright là một framework dành cho kiểm thử và tự động hóa web. Nó cho phép kiểm thử các trình duyệt Chromium, Firefox, và WebKit chỉ với một API duy nhất. Playwright được phát triển nhằm hỗ trợ tự động hóa web đa trình duyệt với tính năng luôn được cập nhật, mạnh mẽ, đáng tin cậy, và nhanh chóng. Homepage: https://playwright.dev/ Github: https://github.com/microsoft/playwright Cài đặt Cài đặt Visual Studio Community: https://visualstudio.microsoft.com/downloads/ Cài đặt Powershell: https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows Mở Visual Studio, chọn File => New => New Project: chọn NUnit Playwright Test Project Project sẽ được tạo với file UnitTest1.cs như sau: [Parallelizable(Paral