TestMu 2024 Home / Video /

Advanced Playwright Techniques for Flawless Testing | Debbie O'Brien

Advanced Playwright Techniques for Flawless Testing | Debbie O'Brien

...Playlist

...

About the talk

Here’s another session on “Advanced Playwright Techniques for Flawless Testing” by 𝐃𝐞𝐛𝐛𝐢𝐞 𝐎'𝐁𝐫𝐢𝐞𝐧, Senior Program Manager, Microsoft. In this talk, she explores some advanced Playwright capabilities and uncovers a range of features that you may not know about, from project dependencies to box steps, API mocking, testing time, and more.

Key Highlights

35+ Sessions

60+ Speakers

20,000+ Attendees

2000+ Minutes

Live Q&As

Key Topics Covered

Introduction to Advanced Playwright Features:

The video starts with an overview of Playwright's advanced capabilities for browser automation and testing. Debbie O'Brien highlights how Playwright supports testing across multiple browsers (Chromium, WebKit, Firefox) using a single API, which helps ensure consistent user experiences across different environments.

Key Benefits of Using Playwright:

Discussion on why Playwright is a preferred tool for modern web application testing, emphasizing its features like automatic waiting for elements, retrying assertions, testing iframes and Shadow DOM, and running tests in full isolation.

Debbie emphasizes the advantages of parallelism in testing, where multiple tests run simultaneously to reduce test execution time.

Advanced Playwright Techniques:

API Mocking: Demonstrating how to mock API calls to simulate responses without actually hitting the live API. Debbie shows examples of how to manipulate and test API responses by mocking JSON data.

Project Dependencies: Managing project dependencies in tests and setting up tests with proper configurations to handle different environments.

Clock API: Using the Clock API for handling time-sensitive tests.

Data and Time Setup for Tests: How to set up data and time configurations to ensure tests run correctly under different scenarios, such as setting up a database or initializing a test environment.

Tooling and Extensions:

Highlighting useful tools and extensions for Playwright, such as the VS Code extension for Playwright, which helps developers write and debug tests more effectively.

Demonstration of tools like the Locator Picker, UI mode, HTML reports, Trace Viewer, and GitHub Actions integration to enhance the testing workflow.

Demos and Practical Examples:

Several practical demonstrations of advanced Playwright techniques, including examples of API mocking, managing test data, and monitoring API responses and requests.

Best Practices and Tips:

Debbie shares best practices for utilizing Playwright's advanced features to create more robust, reliable, and efficient tests.

Advice on reducing flaky tests, optimizing test execution times, and utilizing the full capabilities of Playwright to improve testing workflows.

The video is a comprehensive guide to mastering advanced Playwright techniques, providing viewers with practical insights and examples to elevate their testing strategies. It is aimed at developers and testers looking to optimize their use of Playwright for end-to-end testing.

Testμ

Testμ

Testμ (TestMu) is more than just a virtual conference. It is an immersive experience designed by the community, for the community! A 3-day gathering that unites testers, developers, community leaders, industry experts, and ecosystem partners in the testing and QA field, all converging under a single virtual roof. 😀

More Videos from TestMu 2024

LT Video

Closing Note - Testμ 2024 | Decode The Future of Testing | LambdaTest

TestMu 2024
LT Video

Scaling Quality Engineering for Millions Worldwide | Priyanka Halder | LambdaTest

TestMu 2024
LT Video

How to Start Unf**king Your Tests | Filip Hric | LambdaTest

TestMu 2024
LT Video

How to Measure Code Coverage for Blackbox Tests | Kulas Angeles | LambdaTest

TestMu 2024
LT Video

How AI Is Making Testing Omnipresent | Panel Discussion | LambdaTest

TestMu 2024
LT Video

WebdriverIO v9- Browser Automation Future | Christian Bromann | Sri Harsha | LambdaTest

TestMu 2024
LT Video

Beyond Numbers: From Reports to Insight | Hrishi Potdar | LambdaTest

TestMu 2024
LT Video

Using State Machines with Playwright | Gopi Shankar Haridas | LambdaTest

TestMu 2024
LT Video

Learn How to Improve the Accessibility of Your App | Harris Schneiderman | LambdaTest

TestMu 2024
LT Video

Unlocking Efficiency With Cypress | Anna Patterson| LambdaTest

TestMu 2024
LT Video

Automation – We’re Doing It Wrong | Melisaa Tondi | LambdaTest

TestMu 2024
LT Video

Elevating Your Communication to Drive Excellence in QA Teams | Erika Chestnut | LambdaTest

TestMu 2024
LT Video

Unleashing the Power of Time-Tested Testing Tools | Benjamin Bischoff | LambdaTest

TestMu 2024
LT Video

A Health Check on Your Teams – Are They Really Healthy? | Nithin SS | LambdaTest

TestMu 2024
LT Video

Accelerate Your Testing Career in Digital Transformation | Sapna Manjunath | LambdaTest

TestMu 2024
LT Video

Extracting Testing Insights From Support Tickets | Lidia Barkanova | LambdaTest

TestMu 2024
LT Video

Workshop - Robustly Scaling Playwright Tests | Andrew Knight | LambdaTest

TestMu 2024
LT Video

Seamless Upgrades Mastering API Compatibility | Naresh Jain | LambdaTest

TestMu 2024
LT Video

AI: Accelerating the Path to Quality Excellence | Panel Discussion | LambdaTest

TestMu 2024
LT Video

Vision-First Test Automation - What, Why, How, & Lessons Learned | Jason Huggins| LambdaTest

TestMu 2024
LT Video

Maneesh Sharma - Welcome Note Testμ 2024 | Decode The Future of Testing | LambdaTest

TestMu 2024
LT Video

How to Scalably Test LLMs | Anand Kannappan | LambdaTest

TestMu 2024
LT Video

Changing Role of Quality Engineering in the Age of AI | Panel Discussion | LambdaTest

TestMu 2024
LT Video

Shifting Left – From Dream to Reality | Patrick Delamere | LambdaTest

TestMu 2024
LT Video

The Good and Bad of Contract Testing | Wessel Braakman | LambdaTest

TestMu 2024
LT Video

Testing Your Test | Andres Sacco | LambdaTest

TestMu 2024
LT Video

Revolutionizing API Testing and Development With AI | Pooja Mistry | LambdaTest

TestMu 2024
LT Video

BiDi-ing Farewell to Cross-Browser Automation Headaches | Matthias Rohmer | LambdaTest

TestMu 2024
LT Video

Can A Tester Make A Good Product Owner | Hristina Koleva | LambdaTest

TestMu 2024
LT Video

How Clickup Saved $100K a Year in Testing Through Reoptimizing Tests | Raghul Murugesan | LambdaTest

TestMu 2024
LT Video

HyperExecute: Transforming the Future of Software Testing | Anmol Gupta | LambdaTest

TestMu 2024
LT Video

Where Have the Women of Tech History Gone | Laura Durieux | LambdaTest

TestMu 2024
LT Video

Elevating App Test Coverage | Vijay Selvam | LambdaTest

TestMu 2024
LT Video

Automated Testing of AI-ML Models | Toni Ramchandani | LambdaTest

TestMu 2024
LT Video

Automating Quality: A Vision Beyond AI for Testing | Tariq King | LambdaTest

TestMu 2024
LT Video

Data Validation Framework | Manoj Kumar Anand & Pranavi Kandagadla Prasad | LambdaTest

TestMu 2024
LT Video

Dancing With the Metrics: Monitoring for Keeping on Track | Mesut Durukal | LambdaTest

TestMu 2024
LT Video

Selenium Beyond the Nitty-Gritty of Programming Language | Pallavi Sharma | LambdaTest

TestMu 2024
LT Video

Steering AI, the Critical Role of Quality Engineering | Panel Discussion | LambdaTest

TestMu 2024
LT Video

AI’levating Tester Experience | Rituparna Ghosh | LambdaTest

TestMu 2024
LT Video

Shivani Gaba - Welcome Note Testμ 2024 | Decode The Future of Testing | LambdaTest

TestMu 2024
LT Video

Integrations, Architecture, and Cloud Testing With LambdaTest | Kevin Le | LambdaTest

TestMu 2024
LT Video

Chaos as an Art: Crafting Chaos, Creating Order | Yusuf Tayman | LambdaTest

TestMu 2024
LT Video

Master Test Writing With GitHub Copilot | Michelle Duke | LambdaTest

TestMu 2024
LT Video

How to Build a Niche Testing Career in the Era of AI | Dona Sarkar | LambdaTest

TestMu 2024
LT Video

Personalized AI Agents to Speed Up Software Development | Eran Yahav | LambdaTest

TestMu 2024
LT Video

Exploring the Selenium Ecosystem for Testing | Diego Molina | LambdaTest

TestMu 2024
LT Video

AI in Testing: Strategies for Promotion and Career Success | Jason Arbon| LambdaTest

TestMu 2024
LT Video

Automate Testing of Secured Mobile Apps | Karen Hsu | LambdaTest

TestMu 2024
LT Video

Managing Testing Data | Elias Nogueira | LambdaTest

TestMu 2024
LT Video

Testing AI, FinOps, and Data Quality | James Massa | LambdaTest

TestMu 2024
LT Video

Extra! Extra! Automation Declared Software | Paul Grizzaffi | LambdaTest

TestMu 2024
LT Video

Enhanced Visual Regression With Multi-modal Generative AI | Ahmed Khalifa | LambdaTest

TestMu 2024
LT Video

GPU Load Testing Through Generative AI Workloads | Vishnu Murt | LambdaTest

TestMu 2024
LT Video

Let’s Make Sure Your APIs Are Secure | Bas Dijkstra | Testμ 2024 | LambdaTest

TestMu 2024
LT Video

All About Open Source: Quality, Community & Innovation | Panel Discussion | LambdaTest

TestMu 2024
LT Video

Advanced Playwright Techniques for Flawless Testing | Debbie O'Brien | LambdaTest

TestMu 2024
LT Video

Empowering Teams for Autonomous Quality Excellence | Anton Necheukhin | LambdaTest

TestMu 2024
LT Video

Selenide: Enjoy Writing Automated Tests for Mobile & Web | Andrei Solntsev| LambdaTest

TestMu 2024
LT Video

KaneAI: Redefining Next-Gen Testing Workflows | Mayank Bhola| LambdaTest

TestMu 2024
LT Video

The Complexity of Simplicity | Simon Stewart| LambdaTest

TestMu 2024
LT Video

Joe Colantonio - Welcome Note Testμ 2024 | LambdaTest

TestMu 2024