Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PhantomJS
Search
Arthur Kay
June 01, 2012
Technology
1
220
PhantomJS
Explaining PhantomJS and why it's useful to web developers.
Arthur Kay
June 01, 2012
Tweet
Share
More Decks by Arthur Kay
See All by Arthur Kay
Analyzing the ROI of JavaScript in Enterprise Software Development
arthurakay
0
150
Debugging your Apps with Google Chrome and Sencha
arthurakay
1
260
Announcing Ext JS 5
arthurakay
0
130
Conquering the Command Line
arthurakay
0
310
The Future of Enterprise App Development
arthurakay
0
130
Best Practices for Enterprise JavaScript Applications
arthurakay
7
2.5k
Bringing the Mobile Web to the Cloud
arthurakay
2
550
Building Native Windows 8 Apps with Sencha
arthurakay
0
250
Creating Windows 8 Apps with Ext JS
arthurakay
1
290
Other Decks in Technology
See All in Technology
Strands Agents & Bedrock AgentCoreを1分でおさらい
minorun365
PRO
6
230
ビジネス文書に特化した基盤モデル開発 / SaaSxML_Session_2
sansan_randd
0
260
Findy Freelance 利用シーン別AI活用例
ness
0
300
データモデリング通り #2オンライン勉強会 ~方法論の話をしよう~
datayokocho
0
110
Mambaで物体検出 完全に理解した
shirarei24
2
210
【OptimizationNight】数理最適化のラストワンマイルとしてのUIUX
brainpadpr
1
260
家族の思い出を形にする 〜 1秒動画の生成を支えるインフラアーキテクチャ
ojima_h
1
450
Segment Anything Modelの最新動向:SAM2とその発展系
tenten0727
0
420
LTに影響を受けてテンプレリポジトリを作った話
hol1kgmg
0
290
VLMサービスを用いた請求書データ化検証 / SaaSxML_Session_1
sansan_randd
0
220
【2025 Japan AWS Jr. Champions Ignition】点から線、線から面へ〜僕たちが起こすコラボレーション・ムーブメント〜
amixedcolor
1
120
ホリスティックテスティングの右側も大切にする 〜2つの[はか]る〜 / Holistic Testing: Right Side Matters
nihonbuson
PRO
0
580
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Documentation Writing (for coders)
carmenintech
73
5k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Making the Leap to Tech Lead
cromwellryan
134
9.5k
What's in a price? How to price your products and services
michaelherold
246
12k
Building Applications with DynamoDB
mza
95
6.5k
How to Think Like a Performance Engineer
csswizardry
25
1.8k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
870
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
6k
Transcript
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