Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
A Frontend Web Developer's Guide to Testing

You're reading from   A Frontend Web Developer's Guide to Testing Explore leading web test automation frameworks and their future driven by low-code and AI

Arrow left icon
Product type Paperback
Published in Mar 2022
Publisher Packt
ISBN-13 9781803238319
Length 304 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Eran Kinsbruner Eran Kinsbruner
Author Profile Icon Eran Kinsbruner
Eran Kinsbruner
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Part 1 – Frontend Web Testing Overview
2. Chapter 1: Cross-Browser Testing Methodologies FREE CHAPTER 3. Chapter 2: Challenges Faced by Frontend Web Application Developers 4. Chapter 3: Top Web Test Automation Frameworks 5. Chapter 4: Matching Personas and Use Cases to Testing Frameworks 6. Chapter 5: Introducing the Leading Frontend Web Development Frameworks 7. Part 2 – Continuous Testing Strategy for Web Application Developers
8. Chapter 6: Map the Pillars of a Dev Testing Strategy for Web Applications 9. Chapter 7: Core Capabilities of the Leading JavaScript Test Automation Frameworks 10. Chapter 8: Measuring Test Coverage of the Web Application 11. Part 3 – Frontend JavaScript Web Test Automation Framework Guides
12. Chapter 9: Working with the Selenium Framework 13. Chapter 10: Working with the Cypress Framework 14. Chapter 11: Working with the Playwright Framework 15. Chapter 12: Working with the Puppeteer Framework 16. Chapter 13: Complementing Code-Based Testing with Low-Code Test Automation 17. Chapter 14: Wrapping Up 18. Other Books You May Enjoy

Getting started with the Microsoft Playwright framework

Playwright is one of the newest but fastest-growing cross-browser test automation frameworks. Built by the same team that built Puppeteer, Playwright is also a CDP-based framework. As opposed to Google's Puppeteer, Playwright supports multiple languages and most leading browsers. With Playwright, developers can script in JavaScript, TypeScript, Python, Java, and .NET, and execute across most leading browsers including Chrome, Firefox, Edge, and WebKit Safari. The Playwright framework can be executed in headed or headless mode and can also support mobile viewport emulation (https://playwright.dev/docs/emulation#devices) with various user agents, as opposed to Cypress, for example.

From an architecture perspective, Playwright uses the CDP to interact with the browsers, drive actions such as browsers' pages inputs, scan for security, monitor network processes, and much more. A thorough architectural review is presented...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image