๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

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

โœ Scribed by Dario Kondratiuk


Publisher
Packt Publishing
Tongue
English
Leaves
316
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


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 testing
  • Automate your modern web applications using Jest and Mocha with Puppeteer
  • Generate 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 fundamentals
  • Explore end-to-end testing with Puppeteer and its best practices
  • Apply CSS Selectors and XPath expressions to web automation
  • Discover how you can leverage the power of web automation as a developer
  • Emulate different use cases of Puppeteer such as network speed tests and geolocation
  • Get 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.

Table of Contents

  1. Getting started with Puppeteer
  2. Automated Testing and Test runners
  3. Navigating through a website
  4. Interacting with a page
  5. Waiting for elements and network calls
  6. Executing and Injecting JavaScript
  7. Generating Content with Puppeteer
  8. Environments emulation
  9. Scraping tools
  10. Evaluating and Improving the Performance of a Website

๐Ÿ“œ SIMILAR VOLUMES


UI Testing with Puppeteer: Implement end
โœ Dario Kondratiuk ๐Ÿ“‚ Library ๐Ÿ“… 2021 ๐Ÿ› Packt Publishing ๐ŸŒ English

<p><b>Write fail-safe automation tests, device emulation, and browser automation using Puppeteer's Google-powered API</b></p><h4>Key Features</h4><ul><li>Get up and running with Puppeteer and discover best practices for automation testing</li><li>Automate your modern web applications using Jest and

UI Testing with Puppeteer: Implement end
โœ Dario Kondratiuk ๐Ÿ“‚ Library ๐Ÿ“… 2021 ๐Ÿ› Packt Publishing ๐ŸŒ English

<p><b>Write fail-safe automation tests, device emulation, and browser automation using Puppeteer's Google-powered API</b></p><h4>Key Features</h4><ul><li>Get up and running with Puppeteer and discover best practices for automation testing</li><li>Automate your modern web applications using Jest and

Using Node.js for UI Testing: Learn how
โœ Pedro Teixeira ๐Ÿ“‚ Library ๐Ÿ“… 2013 ๐Ÿ› Packt Publishing ๐ŸŒ English

Automating tests for your user interfaces has always been the holy grail of programming. Now, using Zombie.js and Mocha you can create and quickly run your tests, allowing you to test even small changes. Increase your confidence in the code and minimize the number of times you have to use a real bro

Using Node.js for UI Testing
โœ Pedro Teixeira ๐Ÿ“‚ Library ๐Ÿ“… 2013 ๐Ÿ› Packt Publishing ๐ŸŒ English

<p>Learn how to easily automate testing of your web apps using Node.js, Zombie.js, and Mocha</p> <p><b>Overview</b></p> <ul> <li>Use automated tests to keep your web app rock solid and bug-free while you code</li> <li>Use a headless browser to quickly test your web application every time you make a

Using Node.js for UI Testing
โœ Pedro Teixeira ๐Ÿ“‚ Library ๐Ÿ“… 2013 ๐Ÿ› Packt Publishing ๐ŸŒ English

<p>Learn how to easily automate testing of your web apps using Node.js, Zombie.js, and Mocha</p> <p><b>Overview</b></p> <ul> <li>Use automated tests to keep your web app rock solid and bug-free while you code</li> <li>Use a headless browser to quickly test your web application every time you make a

Using Node.js for UI Testing
โœ Pedro Teixeira ๐Ÿ“‚ Library ๐Ÿ“… 2013 ๐Ÿ› Packt Publishing ๐ŸŒ English

Automating tests for your user interfaces has always been the holy grail of programming. Now, using Zombie.js and Mocha you can create and quickly run your tests, allowing you to test even small changes. Increase your confidence in the code and minimize the number of times you have to use a real bro