LEADER 00000cam a2200577M 4500 003 OCoLC 005 20240129213017.0 006 m o d 007 cr |n||||||||| 008 210315s2021 xx o 0|| 0 eng d 015 GBC120499|2bnb 016 7 020104576|2Uk 019 1242876045 020 9781800203761|q(electronic bk.) 020 1800203764|q(electronic bk.) 029 1 AU@|b000071420272 029 1 UKMGB|b020104576 035 (OCoLC)1241664423|z(OCoLC)1242876045 037 9781800203761|bPackt Publishing 037 10163121|bIEEE 040 YDX|beng|cYDX|dUKAHL|dEBLCP|dCZL|dOCLCO|dOCLCF|dUKMGB|dN$T |dOCLCQ|dIEEEE|dOCLCO 049 INap 082 04 004.019 082 04 004.019|223 099 eBook O'Reilly for Public Libraries 100 1 KONDRATIUK, DARIO. 245 10 UI TESTING WITH PUPPETEER|h[electronic resource] : |bimplement end-to-end testing and browser automation using javascript... and node.js.|h[O'Reilly electronic resource] 260 [S.l.] :|bPACKT PUBLISHING LIMITED,|c2021. 300 1 online resource 336 text|2rdacontent 337 computer|2rdamedia 338 online resource|2rdacarrier 505 0 Cover -- Title page -- Copyright and Credits -- Dedicated -- Contributors -- Table of Contents -- Preface -- Chapter 1: Getting started with Puppeteer -- What is browser automation? -- Selenium and Puppeteer -- Introducing Headless browsers -- Available headless browsers -- The Chromium DevTools Protocol -- Introducing Puppeteer -- The Puppeteer object model -- Puppeteer use cases -- Task Automation -- Web Scraping -- Content generation -- End-to -end testing -- Setting up the environment -- Node.js -- Visual Studio Code -- Our first Puppeteer code -- Installing Puppeteer 505 8 Hello world in Puppeteer -- Asynchronous programming in JavaScript -- Promise.all -- Promise.race -- Fulfilling our own promises -- Summary -- Chapter 2: Automated Testing and Test runners -- Technical requirements -- Introduction to Automated Testing -- Unit tests -- Service tests -- End-to-end tests -- Test runner features -- Available test runners -- Creating our first test project -- Organizing our code -- Introducing the Page Object Model -- Summary -- Chapter 3: Navigating through a website -- Technical requirements -- Introducing the tests sites for this chapter 505 8 Creating a Puppeteer browser -- Using the Puppeteer.launch function -- Headless -- The user data directory -- Executable Path -- Default Viewport -- Product -- Browser Arguments -- Mobile options -- Options in practice -- Navigating through a site -- Timeouts -- waitUntil -- Referrer -- Using the response object -- Getting the response URL -- Getting the response status code -- Introduction to continuous integration -- Summary -- Chapter 4: Interacting with a page -- Technical requirements -- Introduction to HTML, the DOM, and CSS -- HTML -- The DOM -- CSS Selectors -- Finding elements 505 8 Finding elements using XPath -- Interacting with Elements -- Typing on input elements -- Clicking on elements -- Selecting options in drop-down lists -- Keyboard and Mouse emulation -- Debugging tests with Visual Studio Code -- Summary -- Chapter 5: Waiting for elements and network calls -- Technical requirements -- Waiting for the page to load -- Waiting for elements -- Await a wait function -- Waiting for network calls -- Arrange, Act, Await -- Fire and forget -- Promise.all -- Waiting for page events -- The close event -- The popup event -- Target created event -- The console event 505 8 The dialog event -- The headless recorder -- Summary -- Chapter 6: Executing and Injecting JavaScript -- Technical requirements -- Executing JavaScript code -- Variable scopes in JavaScript -- Manipulating handles with JavaScript code -- Getting information from the elements - - Acting on elements -- Enforcing server rules -- Finding elements using JavaScript -- Waiting for functions -- Exposing local functions -- Running our checks with Checkly -- Summary -- Chapter 7: Generating Content with Puppeteer -- Technical requirements -- Taking screenshots -- Using screenshots for regression tests 520 Explore Google's open source web automation library Puppeteer to perform tasks such as end-to-end testing, performance monitoring, and task automation with ease. Using real-world use cases, this book will help you learn the capabilities and best practices of Puppeteer to take your automation code to the next level. 590 O'Reilly|bO'Reilly Online Learning: Academic/Public Library Edition 650 0 Puppeteer (Computer file) 650 0 User interfaces (Computer systems)|xTesting. 650 0 User interfaces (Computer systems)|xDesign. 650 7 User interfaces (Computer systems)|xDesign|2fast 650 7 User interfaces (Computer systems)|xTesting|2fast 776 08 |iPrint version:|z180020678X|z9781800206786 |w(OCoLC)1225288015 856 40 |uhttps://ezproxy.naperville-lib.org/login?url=https:// learning.oreilly.com/library/view/~/9781800206786/?ar |aAvailable on O'Reilly for Public Libraries 938 ProQuest Ebook Central|bEBLB|nEBL6516210 938 YBP Library Services|bYANK|n301991243 938 Askews and Holts Library Services|bASKH|nAH38290972 938 EBSCOhost|bEBSC|n2876277 994 92|bJFN