# Performance Testing Using Playwright

URL:: https://www.youtube.com/watch?v=IrK-XDH72bw&ab_channel=NYWebPerformanceMeetup
Author:: NY Web Performance Meetup
## Highlights
> somebody will modify something and thenthe it'll be out of sync theconfiguration is drifted fromthe the code this is kind of test driftum and so the way around it is to usesomething like playwright um and so thisis this is something that's activelygoing onoh goodnessthis is something that's actively goingon todayum he may have even merged it inum but on my team so i've open sourcedall of the umthe performance tests downstream ([View Highlight](https://read.readwise.io/read/01gn5z52sn1b2vms24zvqccbcx))
> internal to the nasanetwork and everythingthat they more or lessmatch the state of the application thatis behind you know the closed source soyou can see here ([View Highlight](https://read.readwise.io/read/01gn5z5b0qndk48b9dze43gqgk))
- Note: NASA??
> puppeteerscript i'm not sure but what you seehere is the test on the lefton the right you havea video of the test running and thenaccesstothe chrome dev tools associated withthis browser that's being pumped out um ([View Highlight](https://read.readwise.io/read/01gn5z5zdmr7bpcb8g5hkgnhgd))
> the essentials in the container which isvery difficult for anyone that's managedto selenium grid it's not trivialbut it exposes a generic cdp endpointfor your test to use that they connectto via a connect over cdp apialmonds gives you transferabilitybecause you can lock it down with cgroup control so you have this browserthat is the same everywhere presumablythe same everywhere two cpus fourgigabytes of memory something that istransferable um and that you can measure ([View Highlight](https://read.readwise.io/read/01gn78h43vjf56rsy7jv4f74vs))
- Note: Playwright is a Node.js library that enables developers to create automated tests of web applications. It provides a high-level API that can be used to record, debug, and simulate user interactions with a web application. It also provides performance testing capabilities for measuring the performance of web applications under various load scenarios. With Playwright, developers can easily create automated tests that can be run in multiple browsers, and can measure the performance of web applications under different conditions. Performance testing with Playwright can help identify potential bottlenecks and help developers make improvements to optimize their web applications.
---
Title: Performance Testing Using Playwright
Author: NY Web Performance Meetup
Tags: readwise, articles
date: 2024-01-30
---
# Performance Testing Using Playwright

URL:: https://www.youtube.com/watch?v=IrK-XDH72bw&ab_channel=NYWebPerformanceMeetup
Author:: NY Web Performance Meetup
## AI-Generated Summary
Playwright is the newest contender in the test automation space. While it's best known for its powerful capabilities due to the tight coupling between the browser and the driver, it's less well known as a powerful performance testing tool. In this talk, we'll go over some patterns, strategies, and live demos for how playwright can be used to test web performance.
John Hill is a Web UI Test Engineer working at the NASA Ames Research Center on the VIPER Mission's Web-based Mission Control Software. He has 10 years of UI Testing experience ranging from 5-man startups up to Fortune 50 enterprises. John specializations in Web Test Automation, Performance Engineering, and Test Automation Architecture. His passion has always been for Open Source Software and has worked on Jenkins, Ansible, and now on Open MCT.
Slides:
https://slides.com/unlikelyzero/performance-testing-with-playwright
NY Web Performance Meetup:
http://www.meetup.com/Web-Performance-NY/
## Highlights
> somebody will modify something and thenthe it'll be out of sync theconfiguration is drifted fromthe the code this is kind of test driftum and so the way around it is to usesomething like playwright um and so thisis this is something that's activelygoing onoh goodnessthis is something that's actively goingon todayum he may have even merged it inum but on my team so i've open sourcedall of the umthe performance tests downstream ([View Highlight](https://read.readwise.io/read/01gn5z52sn1b2vms24zvqccbcx))
> internal to the nasanetwork and everythingthat they more or lessmatch the state of the application thatis behind you know the closed source soyou can see here ([View Highlight](https://read.readwise.io/read/01gn5z5b0qndk48b9dze43gqgk))
Note: NASA??
> puppeteerscript i'm not sure but what you seehere is the test on the lefton the right you havea video of the test running and thenaccesstothe chrome dev tools associated withthis browser that's being pumped out um ([View Highlight](https://read.readwise.io/read/01gn5z5zdmr7bpcb8g5hkgnhgd))
> the essentials in the container which isvery difficult for anyone that's managedto selenium grid it's not trivialbut it exposes a generic cdp endpointfor your test to use that they connectto via a connect over cdp apialmonds gives you transferabilitybecause you can lock it down with cgroup control so you have this browserthat is the same everywhere presumablythe same everywhere two cpus fourgigabytes of memory something that istransferable um and that you can measure ([View Highlight](https://read.readwise.io/read/01gn78h43vjf56rsy7jv4f74vs))
Note: Playwright is a Node.js library that enables developers to create automated tests of web applications. It provides a high-level API that can be used to record, debug, and simulate user interactions with a web application. It also provides performance testing capabilities for measuring the performance of web applications under various load scenarios. With Playwright, developers can easily create automated tests that can be run in multiple browsers, and can measure the performance of web applications under different conditions. Performance testing with Playwright can help identify potential bottlenecks and help developers make improvements to optimize their web applications.