
Discover Playwright, an open-source, Microsoft-developed UI testing framework for end-to-end tests across browsers and devices, with automatic waits, robust APIs, and easy parallel execution.
Accelerate regression testing with automation, delivering faster feedback and broader coverage across browsers. Let robots perform repetitive tests while humans focus on creative work, enabling continuous testing and rapid deployment.
Explore the four traditional functional test types in the testing pyramid—unit, integration, contract, and UI tests—covering their scope, speed, tools, and tradeoffs for modern apps with microservices and APIs.
demonstrates unit, integration, and ui tests on a calculator app with rest api; shows tests in milliseconds, selenium ui tests on blaze demo, and api tests via postman in azure.
Build a robust automation framework with modular, reusable components that scale across tests, enable independent execution, and provide reporting, CI/CD integration, and environment management.
Explore natural language processing (NLP) as the bridge between humans and AI, enabling computers to understand, interpret, and generate human language across text, voice, and video.
Learn to achieve repeatable and consistent Gen AI outputs by tuning temperature, reducing hallucinations, and enforcing prompt formats like given-when-then while managing chat history and data controls.
https://github.com/danteachqe/Playwright.git
Install node.js (with npm), verify versions via node -v and npm -v, and ensure path environment variables include node and npm so you can install dependencies.
Install Visual Studio Code on Windows 11, import the repository, and add extensions—Java, Maven for Java, Java debugger, and GitHub actions—to enable Java-based CI and testing.
Explore the UI inspector pick locator tool to identify and locate elements for Playwright automated tests, using CSS selectors, XPath, and ChatGPT-powered guidance in Visual Studio Code.
Playwright can emulate a wide range of devices, screen resolutions, and geolocations. It also allows you to set permissions (like camera or location access) and emulate network conditions (like offline mode or slow connections). These emulation features help you test how your application behaves under different scenarios, ensuring a robust user experience across various environments.
Playwright Test, the built-in test runner, comes with advanced features like auto-retries, test timeouts, fixtures, and parallel execution out of the box. It also supports test tagging, configuration options, and snapshot testing. Having these features integrated means you spend less time configuring third-party tools and more time writing effective tests.
Accurately simulating time-dependent behavior is essential for verifying the correctness of applications. Utilizing Clock functionality allows developers to manipulate and control time within tests, enabling the precise validation of features such as rendering time, timeouts, scheduled tasks without the delays and variability of real-time execution.
https://playwright.dev/docs/clock
Prioritize key flows such as home page accessibility, navigation, flight search, and purchase, and craft test cases with data and expected results for automated testing using ChatGPT.
Extend a basic flight search test into an end-to-end script with Playwright and ChatGPT. Convert a plain-English test case into a working demo.js and reserve a flight, awaiting confirmation.
Debug manually code by inspecting Playwright front-end selectors, aligning expected texts, decoupling test data, and refactoring with ChatGPT-assisted scripts.
Debug code with chatgpt by copying errors and code, then save and run tests to fix issues, while removing non-existent page elements and adjusting expectations like credit card format.
Enhance Playwright tests by adding comprehensive logs and after-step screenshots to each test, enabling faster debugging and root-cause analysis within a Playwright automation framework.
Configure Playwright tests to run on Chrome, Firefox, and Edge in headless or headed modes via a json projects file, and execute them sequentially or in parallel with a retry.
Explore how to execute tests in parallel with Playwright workers, run multiple tests and browsers (Chrome, Firefox, Internet Explorer) simultaneously, and ensure test independence for scalable automation.
Split scripts to build a page object model in Playwright, resolve constructor and path import issues, and set up test structure, with ChatGPT assistance to debug next steps.
Split the framework into four page objects—home, flights, purchase, confirmation—and a single test script to create a robust page object model with a clear folder structure.
Learn to improve UI test robustness by switching between XPath, CSS selectors, and IDs to identify front page elements, create stable element mappings, and alternate strategies for stability.
Learn to create independent test data for each script by duplicating tests, customizing data sets like flight and passenger info, and decoupling data into organized folders for simultaneous execution.
Install zero shot with npm install, sign in for an API key, and export it as an environment variable. Use GitHub docs to configure a zero shot config.
Explore OpenAI Codex, a coding agent built on Codex One from the o3 model, integrated with GitHub, offering code or ask modes and runnable code with dependency installation.
configure the agents.md file to work with ai agents using playwright, with config.json settings for headless mode, retries, and emulation, and manage updates via pull requests.
Validate that Visual Studio Code recognizes playwright MCP tooling, installs and runs the MCP server, and authors end-to-end tests using Copilot, page object model, and a cheapest-flight selection scenario.
Create an end-to-end flight reservation test in vscode with copilot and MCP using Playwright, following the blaze demo page object model, named end to end reservation spec.
Set up a GitHub actions flow to run tests in a CI/CD pipeline for your playwright repo, using a basic action file and workflow dispatch.
Create the first job to run Playwright tests by configuring npm dependencies, installing browsers, checking out the repository, and handling permissions.
Generate a json test report during execution and upload it as an artifact using the reports configuration. Download the json and xml results for audit tracing and pipeline validation.
Understand how to shard Playwright tests across multiple machines to run in parallel, using GitHub Actions, merging reports, and optimizing test time with shard configuration.
Welcome to "Automated Testing with Playwright and ChatGPT" your quick guide to learning the essentials of modern test automation and AI integration. Whether you're a beginner in test automation or an experienced developer looking to expand your skill set, this course will provide you with the tools and knowledge to effectively build and implement Playwright frameworks, along with integrating AI-driven automation and CI/CD processes.
What You Will Learn:
Introduction to AI and Test Automation: Get familiar with the foundational concepts of AI and its role in automation.
Playwright Framework Basics: Learn how to use Playwright, a powerful automation tool for web testing, and explore its core features.
Playwright LIVE LAB Test Automation on Blazedemo: See a live demo on how to create a full E2E test case based on CHATGPT and playwright, step by step guide.
Playwright Comprehensive Test Runner: See capabilities such as headed, headless, parallel, distribute execution as well as emulation of devices and multiple bowsers
Framework Creation with Playwright: Understand how to design and implement a structured Playwright well architected framework
AI Integration in Automation: Discover how to incorporate AI models, like ChatGPT, to enhance your test automation strategies.
CI/CD Pipeline Integration: Learn how to seamlessly integrate your Playwright framework into Continuous Integration and Continuous Deployment pipelines for faster and more reliable testing cycles. Github is the tool of choice.
Hands-on Projects: Build and run test scripts, implement AI-driven test scenarios, and deploy automation in real-world cases.
Learn how to use Open AI Codex1 to accelerate code creation
Playwright MCP and Copilot: USE AI Playwright Agents to generate tests that are ready to run, and if not, use agents to fix your code.
Who This Course Is For:
This course is ideal for software testers, developers, and AI enthusiasts who want to master the Playwright test framework while learning the fundamentals of AI-based automation. If you’re aiming to elevate your automation skills, integrate AI into your workflows, or understand how to efficiently build a CI/CD pipeline, this course is perfect for you.
Course Features:
Engaging video lectures
Hands-on coding exercises and projects
Interactive quizzes and assessments
A supportive community forum for peer learning and collaboration
Lifetime access to all course materials
Enroll now and begin your journey toward mastering Playwright framework automation and AI integration today!