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
PhantomJS
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Arthur Kay
June 01, 2012
Technology
250
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PhantomJS
Explaining PhantomJS and why it's useful to web developers.
Arthur Kay
June 01, 2012
Transcript
9 slides
Presented by Art Kay PhantomJS
Who am I? ! Arthur Kay ! Solutions
Engineer at Sencha, Inc. ! Longtime ExtJS fanatic ! Web developer for 10+ years ! www.akawebdesign.com ! @arthurakay ! Want a cool job? Sencha is hiring!
Sencha Chicago User Group ! Looking for: !
Speakers ! Ideas ! Giveaways ! Sponsors ! GET INVOLVED!
Agenda ! What is PhantomJS? ! API !
Examples ! Hack!
Don’t be scared! ! Headless WebKit browser (FAST!!!) !
JavaScript API (also CoffeeScript) ! Ideal for unit tests, site scraping, SVG rendering, network monitoring, etc. ! www.PhantomJS.org
API ! phantom ! exit(val) ! injectJs(file) !
WebPage ! evaluate(function() { … }) ! open(url, callback) ! render(filename) ! sendEvent(type, x, y) ! Filesystem ! list(path) ! isFile(path)
Examples ! Hello, World! ! Passing arguments !
Render images (screenshots) ! Webpage load speed ! PhantomLint ! Jasmine
Let’s Hack! ! Ideas: ! Website/server uptime monitoring
tool ! Crawl filesystem for HTML files and snapshot ! Simulate mouse move/click on webpage (integration test!)
Questions
More Decks by Arthur Kay
See All by Arthur Kay
Analyzing the ROI of JavaScript in Enterprise Software Development
arthurakay
0
190
Debugging your Apps with Google Chrome and Sencha
arthurakay
1
340
Announcing Ext JS 5
arthurakay
0
180
Conquering the Command Line
arthurakay
0
390
The Future of Enterprise App Development
arthurakay
0
170
Best Practices for Enterprise JavaScript Applications
arthurakay
7
2.6k
Bringing the Mobile Web to the Cloud
arthurakay
2
620
Building Native Windows 8 Apps with Sencha
arthurakay
0
290
Creating Windows 8 Apps with Ext JS
arthurakay
1
320
Other Decks in Technology
See All in Technology
[DBRE Summit 26] DBRE はデータベース運用をどう変えたのか
_awache
0
150
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
3
750
OWASP AI Agentic Top10に準拠するクラウドネイティブなガードレールの実践(CNDW 2026)
keitah
1
460
PMの私の 最近のAgent Skills活用法
haru860
0
100
Is the Website Dying?
miriamschwab
0
270
データ界隈LT祭の運営のふりかえり
yoshimura_datam
0
110
フルTypeScript × AI駆動開発で開発量が数倍に (JSConf JP 2026 スポンサーLT:NCDC株式会社)
keitaibaraki
0
680
Kiro のリモートワークスペース: IDE は手元のままで、ワークスペースをクラウド、コンテナ、自前のマシンに置く
inariku
PRO
2
270
そのイメージ、どのCIが作った? Artifact Attestationsで来歴を固定する / Which CI system created that image? Pinning provenance with Artifact Attestations
chmikata
0
390
ワークフローからハーネスへ — Web フレームワークの作者たちが AI エージェントに向かう理由
azukiazusa1
4
3.7k
「それ、AIでよくない?」- AI時代の技術発信はオワコンなのか?
estie
1
110
想定外の利用がプロダクトの価値を広げる
lycorptech_jp
PRO
0
140
Featured
See All Featured
KATA
mclloyd
PRO
35
16k
Raft: Consensus for Rubyists
vanstee
143
7.9k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.8k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
480
Into the Great Unknown - MozCon
thekraken
41
2.8k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
370
Ethics towards AI in product and experience design
skipperchong
2
470
Art, The Web, and Tiny UX
lynnandtonic
304
22k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
4
1.3k
30 Presentation Tips
portentint
PRO
1
480
Practical Orchestrator
shlominoach
192
12k