본문 바로가기

리디 접속이 원활하지 않습니다.
강제 새로 고침(Ctrl + F5)이나 브라우저 캐시 삭제를 진행해주세요.
계속해서 문제가 발생한다면 리디 접속 테스트를 통해 원인을 파악하고 대응 방법을 안내드리겠습니다.
테스트 페이지로 이동하기

UI Testing with Puppeteer 상세페이지

UI Testing with Puppeteer

Implement end-to-end testing and browser automation using JavaScript and Node.js

  • 관심 0
소장
전자책 정가
19,000원
판매가
19,000원
출간 정보
  • 2021.03.11 전자책 출간
듣기 기능
TTS(듣기) 지원
파일 정보
  • PDF
  • 316 쪽
  • 7.8MB
지원 환경
  • PC뷰어
  • PAPER
ISBN
9781800203761
UCI
-
UI Testing with Puppeteer

작품 정보

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

▶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

▶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

▶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.

▶What this book covers
- Chapter 1, Getting started with Puppeteer, lays the foundation for the book. It will help you get started with Puppeteer by introducing you to the tool and getting you acquainted with the essentials. You will also learn how to write async code in JavaScript.

- Chapter 2, Automated Testing and Test runners, covers end-to-end testing fundamentals and the difference between different types of tests. In the latter part of the chapter, we will cover creating and organizing a test project and getting started with test runners.

- Chapter 3, Navigating through a website, sees you start coding your tests. You will learn how to launch a browser, navigate to a page, and make some assertions. Then, you will see how to publish your tests to the cloud to be tested.

- Chapter 4, Interacting with a page, is all about interaction. Once you get to a page, how do you test it? How do you simulate user interaction? This chapter takes you through the most common ways of interacting with a page. This chapter also covers some basic HTML concepts, so you can take advantage of all the tools Puppeteer provides.

- Chapter 5, Waiting for elements and network calls, teaches you how to wait for the different scenarios on the page you are testing—waiting for the page to load and be ready, waiting for a button to be enabled, waiting for an Ajax call to be completed, and so on. This chapter covers all the tools that Puppeteer offers to handle these scenarios.

- Chapter 6, Executing and Injecting JavaScript, shows you one of the best features of Puppeteer: injecting JavaScript code easily. In this chapter, we will leave the end-to-end testing world for a moment and dive into web automation using a general-purpose tool.

- Chapter 7, Generating Content with Puppeteer, expands on the usage of Puppeteer and shows you how we can create content using Puppeteer. We'll start by learning how screenshots are created and how they can be used for regression tests. Then, we will cover PDF generation, and finally, we will learn how to create pages on the fly.

- Chapter 8, Environments emulation, explains all the tools Puppeteer provides to emulate different scenarios. It will show you how to emulate mobile devices, different screen resolutions, various network speeds, geolocation, and even things such as vision deficiency.

- Chapter 9, Scraping tools, demystifies web scraping, showing you how it can be used to your advantage. You will learn how to create scrapers and run tasks in parallel using Puppeteer Cluster.

- Chapter 10, Evaluating and Improving the Performance of a Website, shows you how Puppeteer can help developers to evaluate and improve the performance of their sites. We will learn how to extract and analyze all the performance metrics you can see on the Developer Tools. This chapter also has a great introduction to Google Lighthouse and how to automate its reports and integrate them into your tests.

- I also want this book to fill your toolbox with more tools besides Puppeteer. During the course of this book, you will learn about other tools, such as GitHub Actions, Visual Studio Code, Checkly and its Puppeteer recorder, and many others.

작가 소개

▶About the Author
- Dario Kondratiuk
Dario Kondratiuk is a web developer since 2001. He won the Microsoft MVP (most valuable professional) award in 2020 for his contributions to the developer community. Dario has been working with Puppeteer since the beta versions, back in 2017. He is the author of Puppeteer-Sharp, a Puppeteer port to .NET, and Playwright-Sharp, a Playwright port to .NET.

리뷰

0.0

구매자 별점
0명 평가

이 작품을 평가해 주세요!

건전한 리뷰 정착 및 양질의 리뷰를 위해 아래 해당하는 리뷰는 비공개 조치될 수 있음을 안내드립니다.
  1. 타인에게 불쾌감을 주는 욕설
  2. 비속어나 타인을 비방하는 내용
  3. 특정 종교, 민족, 계층을 비방하는 내용
  4. 해당 작품의 줄거리나 리디 서비스 이용과 관련이 없는 내용
  5. 의미를 알 수 없는 내용
  6. 광고 및 반복적인 글을 게시하여 서비스 품질을 떨어트리는 내용
  7. 저작권상 문제의 소지가 있는 내용
  8. 다른 리뷰에 대한 반박이나 논쟁을 유발하는 내용
* 결말을 예상할 수 있는 리뷰는 자제하여 주시기 바랍니다.
이 외에도 건전한 리뷰 문화 형성을 위한 운영 목적과 취지에 맞지 않는 내용은 담당자에 의해 리뷰가 비공개 처리가 될 수 있습니다.
아직 등록된 리뷰가 없습니다.
첫 번째 리뷰를 남겨주세요!
'구매자' 표시는 유료 작품 결제 후 다운로드하거나 리디셀렉트 작품을 다운로드 한 경우에만 표시됩니다.
무료 작품 (프로모션 등으로 무료로 전환된 작품 포함)
'구매자'로 표시되지 않습니다.
시리즈 내 무료 작품
'구매자'로 표시되지 않습니다. 하지만 같은 시리즈의 유료 작품을 결제한 뒤 리뷰를 수정하거나 재등록하면 '구매자'로 표시됩니다.
영구 삭제
작품을 영구 삭제해도 '구매자' 표시는 남아있습니다.
결제 취소
'구매자' 표시가 자동으로 사라집니다.

개발/프로그래밍 베스트더보기

  • 바이브 코딩 너머 개발자 생존법 (애디 오스마니, 강민혁)
  • 혼자 공부하는 바이브 코딩 with 클로드 코드 (조태호)
  • 요즘 당근 AI 개발 (당근 팀)
  • 도메인 주도 설계를 위한 함수형 프로그래밍 (스콧 블라신, 박주형)
  • 요즘 바이브 코딩 클로드 코드 완벽 가이드 (최지호(코드팩토리))
  • AI 자율학습 밑바닥부터 배우는 AI 에이전트 (다비드스튜디오)
  • 개정2판 | 소프트웨어 아키텍처 The Basics (마크 리처즈, 닐 포드)
  • 연필과 종이로 풀어보는 딥러닝 수학 워크북 214제 (톰 예(Tom yeh) )
  • 그림으로 이해하는 도커와 쿠버네티스 (토쿠나가 코헤이 , 서수환)
  • 알아서 잘하는 에이전틱 AI 시스템 구축하기 (안자나바 비스와스, 릭 탈루크다르)
  • 러스트 클린 코드 (브렌든 매슈스, 윤인도)
  • 밑바닥부터 만들면서 배우는 LLM (세바스찬 라시카, 박해선)
  • 혼자 공부하는 컴퓨터 구조+운영체제 (강민철)
  • 개정판 | Do it! 점프 투 파이썬 (박응용)
  • AI 엔지니어링 (칩 후옌, 변성윤)
  • 밑바닥부터 시작하는 웹 브라우저 (파벨 판체카, 크리스 해럴슨)
  • 혼자 공부하는 네트워크 (강민철)
  • 쏙쏙 들어오는 자료구조 (마르첼로 라 로카, 김성원)
  • 데이터베이스 설계, 이렇게 하면 된다 (미크, 윤인성)
  • 기본 이론에서 실무 예제까지, HANA 기반 Easy ABAP 3.0 (김성준, 박재형)

본문 끝 최상단으로 돌아가기

spinner
앱으로 연결해서 다운로드하시겠습니까?
닫기 버튼
대여한 작품은 다운로드 시점부터 대여가 시작됩니다.
앱으로 연결해서 보시겠습니까?
닫기 버튼
앱이 설치되어 있지 않으면 앱 다운로드로 자동 연결됩니다.
모바일 버전