Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Introduction to Puppeteer
Search
Tam Mullen
August 29, 2018
Technology
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Introduction to Puppeteer
Introduction to using Puppeteer in conjunction with Dev Tools such as Coverage tool.
Tam Mullen
August 29, 2018
Other Decks in Technology
See All in Technology
Classmethod Company Deck
satoshi7
1
680
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
870
[JAWS-UG彩の国埼玉#12]そろそろ準備する?re:Invent2026をやさしく解説 / reinvent2026-sainokuni
sh_fk2
1
340
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
8
2.4k
Claude の新機能を、 出た日に触って社内に届けるまで
rfdnxbro
1
180
今さら理解するウェブフォントver.2026
takanorip
3
770
子育てエンジニアの可処分時間が減っても成長を諦めない戦い方
sudoakiy
6
4.6k
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
450
Claude Code本は、どのように執筆チームで書かれたか
oikon48
1
380
Optunaの最新リリースv5.0について
pfn
PRO
0
120
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
730
⾮構造化データを価値に変える AI エージェント基盤とその組織
ivry_presentationmaterials
0
190
Featured
See All Featured
Six Lessons from altMBA
skipperchong
29
4.5k
Docker and Python
trallard
47
4.2k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Chasing Engaging Ingredients in Design
codingconduct
0
360
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
460
Navigating Weather and Climate Data
rabernat
0
560
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.3k
Transcript
Intro to Puppeteer Tam Mullen @tammullen
None
Coverage Tool
Coverage Tool
None
“
• Finding Dead Code • Identifying code for Lazy Loading
Coverage Tool Uses
CDP
“
None
None
None
None
None
Puppeteer Use Examples
let loginPage = new Login(page); await loginPage.enterUsername(); await loginPage.enterPassword(); constructor(page)
{ this.page = page; this.username = '#usernameOrEmail'; this.usernameSubmit = '#wp-submit, button[type="submit"]'; this.password = '#password'; this.loginSubmit = '#wp-submit, button[type="submit"]'; this.readerHome = '.following.main'; this.mySitesLink = '[data-tip-target=my-sites]'; } async enterUsername() { await this.page.type(this.username, config.testUserName); await this.page.click(this.usernameSubmit); } async enterPassword() { await this.page.waitForSelector(this.password, { visible: true }); await this.page.type(this.password, config.testPassword); }
page.coverage.startJSCoverage({ resetOnNavigation: false }) page.coverage.startCSSCoverage({ resetOnNavigation: false }) page.coverage.stopJSCoverage() page.coverage.stopCSSCoverage()
None
None
None
$ npm run start -- -v Clearing previous traces... Starting
browser... Logging in... Starting measurements for section reader... Timing initial visit to new-post... Initial time: 187.634ms Timing repeat visits to new-post... Mean time: 1336.41ms Timing initial visit to likes... Initial time: 654.691ms Timing repeat visits to likes... Mean time: 687.038ms Timing initial visit to search...
None
Thanks Tam Mullen @tammullen