Puppeteer

Puppeteer

Professional Development

7 Qs

quiz-placeholder

Similar activities

MSLP Basic

MSLP Basic

Professional Development

10 Qs

Word Processing Software Trivia

Word Processing Software Trivia

4th Grade - Professional Development

11 Qs

Jetpack Compose

Jetpack Compose

Professional Development

10 Qs

TikTok edition

TikTok edition

KG - Professional Development

10 Qs

Quiz - Ls.4 - Advanced Features of Word Processor(Part 2)

Quiz - Ls.4 - Advanced Features of Word Processor(Part 2)

4th Grade - Professional Development

10 Qs

Web Browsing

Web Browsing

10th Grade - Professional Development

10 Qs

¡Frontend check!

¡Frontend check!

Professional Development

10 Qs

DT & OPS Town Hall: EBIC Minigame

DT & OPS Town Hall: EBIC Minigame

Professional Development

10 Qs

Puppeteer

Puppeteer

Assessment

Quiz

Computers, Fun

Professional Development

Hard

Created by

Laily Q

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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