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
140
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
Adminaで実現するISMS/SOC2運用の効率化 〜 アカウント管理編 〜
shonansurvivors
2
190
Goにおける 生成AIによるコード生成の ベンチマーク評価入門
daisuketakeda
2
110
Large Vision Language Modelを用いた 文書画像データ化作業自動化の検証、運用 / shibuya_AI
sansan_randd
0
110
AIが書いたコードをAIが検証する!自律的なモバイルアプリ開発の実現
henteko
1
350
空間を設計する力を考える / 20251004 Naoki Takahashi
shift_evolve
PRO
3
390
業務自動化プラットフォーム Google Agentspace に入門してみる #devio2025
maroon1st
0
190
Flaky Testへの現実解をGoのプロポーザルから考える | Go Conference 2025
upamune
1
430
LLMアプリケーション開発におけるセキュリティリスクと対策 / LLM Application Security
flatt_security
7
1.9k
Azure SynapseからAzure Databricksへ 移行してわかった新時代のコスト問題!?
databricksjapan
0
140
AI時代だからこそ考える、僕らが本当につくりたいスクラムチーム / A Scrum Team we really want to create in this AI era
takaking22
6
3.6k
ACA でMAGI システムを社内で展開しようとした話
mappie_kochi
1
280
Oracle Cloud Infrastructure:2025年9月度サービス・アップデート
oracle4engineer
PRO
0
460
Featured
See All Featured
Building Applications with DynamoDB
mza
96
6.6k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
30
2.9k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Facilitating Awesome Meetings
lara
56
6.6k
How to Think Like a Performance Engineer
csswizardry
27
2k
RailsConf 2023
tenderlove
30
1.2k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Rails Girls Zürich Keynote
gr2m
95
14k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6.1k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.1k
YesSQL, Process and Tooling at Scale
rocio
173
14k
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