Puppeteer

Quiz
•
Computers, Fun
•
Professional Development
•
Hard
Laily Q
Used 3+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
Puppeteer runs non-headless by default, but can be configured to run headless
TRUE
FALSE
2.
MULTIPLE SELECT QUESTION
10 sec • 1 pt
The advantages of using puppeteer
Taking screenshot and Generate PDF
compatible in jest framework
Automating web page interaction
3.
MULTIPLE SELECT QUESTION
10 sec • 1 pt
How to launch puppeteer
const browser = await puppeteer.launch;
const browser: await page.puppeteer.launch
const browser = await puppeteer.launch({headless: false});
const browser = await puppeteer.launch();
4.
MULTIPLE SELECT QUESTION
5 sec • 1 pt
how to initiate puppeteer library
const puppeteer = await (puppeteer);
npm init -y
const puppeteer = require('puppeteer');
npm i puppeteer-core
5.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
puppeteer-core will download the default browser
TRUE
FALSE
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Code for taking screenshot using puppeteer
(async () => { const browser = await puppeteer.launch(); const page = await browser.newPage(); await page.goto('https://example.com'); await page.screenshot({ path: 'example.pdf' }); await browser.close(); })();
(async () => { const browser = await puppeteer.launch(); const page = await browser.newPage(); await page.goto('https://example.com'); await page.screenshot({ path: 'example.png' }); await browser.close(); })();
(async () => { const browser = await puppeteer.launch(); const page = await browser.newPage(); await page.goto('https://example.com', { path: 'example.png' }); await browser.close(); })();
7.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
When generating a PDF, Puppeteer needs to run headless
TRUE
FALSE
Similar Resources on Wayground
10 questions
Web Browsing

Quiz
•
10th Grade - Professi...
9 questions
Javascript Array and Object

Quiz
•
University - Professi...
12 questions
Java Selenium WebDriver

Quiz
•
Professional Development
10 questions
Style Quiz

Quiz
•
Professional Development
10 questions
Moringa JavaScript Arrays

Quiz
•
5th Grade - Professio...
10 questions
AWS ACF Módulo 10 - Auto Scaling e monitoramento

Quiz
•
Professional Development
11 questions
CIW IBA Lesson 4 Vocabulary

Quiz
•
8th Grade - Professio...
9 questions
HTML Basics

Quiz
•
9th Grade - Professio...
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade