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
160
Debugging your Apps with Google Chrome and Sencha
arthurakay
1
280
Announcing Ext JS 5
arthurakay
0
140
Conquering the Command Line
arthurakay
0
350
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
570
Building Native Windows 8 Apps with Sencha
arthurakay
0
260
Creating Windows 8 Apps with Ext JS
arthurakay
1
290
Other Decks in Technology
See All in Technology
2026年はチャンキングを極める!
shibuiwilliam
7
1.6k
オープンウェイトのLLMリランカーを契約書で評価する / searchtechjp
sansan_randd
3
380
セキュリティ はじめの一歩
nikinusu
0
1.1k
GCASアップデート(202510-202601)
techniczna
0
200
Azure SQL Databaseでベクター検索を活用しよう
nakasho
0
120
月間数億レコードのアクセスログ基盤を無停止・低コストでAWS移行せよ!アプリケーションエンジニアのSREチャレンジ💪
miyamu
0
110
新規事業における「一部だけどコア」な AI精度改善の優先順位づけ
zerebom
0
410
書籍執筆での生成AIの活用
sat
PRO
1
230
あたらしい上流工程の形。 0日導入からはじめるAI駆動PM
kumaiu
2
350
「全社導入」は結果。1人の熱狂が組織に伝播したmikanのn8n活用
sota_mikami
0
580
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
66k
AI時代のPMに求められるのは 「Ops」と「Enablement」
shimotaroo
1
470
Featured
See All Featured
Balancing Empowerment & Direction
lara
5
860
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
280
The World Runs on Bad Software
bkeepers
PRO
72
12k
Un-Boring Meetings
codingconduct
0
200
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
2.9k
Claude Code のすすめ
schroneko
67
210k
Leo the Paperboy
mayatellez
4
1.3k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
750
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
130
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
240
Statistics for Hackers
jakevdp
799
230k
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