UI Testing with Puppeteer: Implement end-to-end testing and browser automation using JavaScript and Node.js


Price: $38.99
(as of Jan 22, 2025 08:19:02 UTC – Details)


Write fail-safe automation tests, device emulation, and browser automation using Puppeteer’s Google-powered API

Key Features:

Get up and running with Puppeteer and discover best practices for automation testingAutomate your modern web applications using Jest and Mocha with PuppeteerGenerate screenshots using Puppeteer and find out how they can be used for UI regression tests

Book Description:

Puppeteer is an open source web automation library created by Google to perform tasks such as end-to-end testing, performance monitoring, and task automation with ease. Using real-world use cases, this book will take you on a pragmatic journey, helping you to learn Puppeteer and implement best practices to take your automation code to the next level!

Starting with an introduction to headless browsers, this book will take you through the foundations of browser automation, showing you how far you can get using Puppeteer to automate Google Chrome and Mozilla Firefox. You’ll then learn the basics of end-to-end testing and understand how to create reliable tests. You’ll also get to grips with finding elements using CSS selectors and XPath expressions. As you progress through the chapters, the focus shifts to more advanced browser automation topics such as executing JavaScript code inside the browser. You’ll learn various use cases of Puppeteer, such as mobile devices or network speed testing, gauging your site’s performance, and using Puppeteer as a web scraping tool.

By the end of this UI testing book, you’ll have learned how to make the most of Puppeteer’s API and be able to apply it in your real-world projects.

What You Will Learn:

Understand browser automation fundamentalsExplore end-to-end testing with Puppeteer and its best practicesApply CSS Selectors and XPath expressions to web automationDiscover how you can leverage the power of web automation as a developerEmulate different use cases of Puppeteer such as network speed tests and geolocationGet to grips with techniques and best practices for web scraping and web content generation

Who this book is for:

The book is for QA engineers, testing professionals, and frontend web developers alike who want to perform end-to-end testing using Google’s developer tools. Web developers who want to learn how to use Puppeteer for generating content, scraping websites, and evaluating website performance will also find this book useful. Although knowledge of Node.js isn’t necessary, basic JavaScript knowledge will assist with understanding the concepts covered.

<br>Publisher                                    ‏                                        :                                    ‎                                 Packt Publishing (March 11, 2021) <br> Language                                    ‏                                        :                                    ‎                                 English <br> Paperback                                    ‏                                        :                                    ‎                                 316 pages <br> ISBN-10                                    ‏                                        :                                    ‎                                 180020678X <br> ISBN-13                                    ‏                                        :                                    ‎                                 978-1800206786 <br> Item Weight                                    ‏                                        :                                    ‎                                 1.21 pounds <br> Dimensions                                    ‏                                        :                                    ‎                                 9.25 x 7.5 x 0.66 inches <br>
spatsariya

Recent Posts

Bernstein Says Nvidia Stock Is a Buy After Valuation Reset

Purchasing Nvidia at this time may be similar to requesting a dessert after a massive…

2 hours ago

YouTube Suffers Global Outage, Services Quickly Restored

For a tiny fraction of time on Friday, the entire world simultaneously hit the refresh…

2 hours ago

Coatue Trims Nvidia, Boosts Alphabet Stock in Strategic AI Shift

The highly influential manager of Coatue Management, Philippe Laffont also made a bold asset reallocation…

3 hours ago

TikTok Finalizes US Spinoff Deal to Avoid Nationwide Ban

Tik Tok has signed a significant deal to sell its vast business units in the…

6 hours ago

Oracle Stock Surges on TikTok Deal and AI Cloud Boom

The stock of Oracle has had a very significant increase trend similar to that of…

7 hours ago

Trump Reviews Nvidia H200 AI Chip Sales to China Amid Security Concerns

The administration of President Donald J. Trump has recently begun an extensive examination of the…

9 hours ago