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
Introduce CasperJS
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Takayuki Matsubara
October 11, 2013
Programming
200
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Introduce CasperJS
Introduce CasperJS. Easy way for browser testing.
M3 TechTalk #11 LT slide.
#m3dev
Takayuki Matsubara
October 11, 2013
More Decks by Takayuki Matsubara
See All by Takayuki Matsubara
Rails Web Development with AWS Lambda
ma2gedev
0
360
Coding Challenge Advent of Code 2019
ma2gedev
0
180
Developer Experience in GraphQL Schema-first Development
ma2gedev
0
2.4k
Dependency Inversion Principle in Keyboard Firmware
ma2gedev
0
580
OSSの歩き方 / Walking with OSS
ma2gedev
10
2.7k
GraphQL 開発で必要になったこと / What we needed for GraphQL development
ma2gedev
0
1.3k
キーボードをカスタムしてプログラミング環境を良くした話 / Improved programming environment with customizing keybords
ma2gedev
0
1.4k
Translating "Erlang in Anger" with Erlang & Elixir community members
ma2gedev
0
3k
Dive into Elixir v1.6 Code Formatter
ma2gedev
1
210
Other Decks in Programming
See All in Programming
AHC070解法紹介
eijirou
0
150
カツオ、ご期待ください
suneo3476
0
140
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
9
5.3k
AWSに止められる覚悟してますか?
morizo_1984
2
500
スマートフォンでモールス信号を送受信する 〜スマートフォンのLEDとカメラで作る光通信の設計と実装〜
atsuki_seo
0
220
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
330
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
2.6k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
390
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
250
Intent as Code
shoppingjaws
6
1.1k
手動確認はもう限界 〜XCUITestでCustom URL Schemeの遷移を起動種別ごとに自動テストする〜 / Testing Custom URL Schemes with XCUITest
otouto
0
370
世界の中心で、AI(App Intents)をさけぶ ー App Intents中心設計の実践ガイド
touyou
0
760
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
28
2.9k
The SEO identity crisis: Don't let AI make you average
varn
0
570
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
Heart Work Chapter 1 - Part 1
lfama
PRO
10
36k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Into the Great Unknown - MozCon
thekraken
41
2.7k
BBQ
matthewcrist
89
10k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
960
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
2k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
840
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
730
Transcript
$BTQFS+4 .5FDI5BML . *OD BTBLVTBSC 5XJUUFS!NBHF (JU)VCNBHFEFW #SFBEDSVNCMF
None
)3!.)
$BTQFS+4 6UJMJUZGPS 1IBOUPN+4
1IBOUPN+4 )FBEMFTT8FC,JU
6TFGVMGPS$* Prerequisites • PhantomJS 1.8.1 or greater. Installation instructions can
be found here • Python 2.6 or greater for casperjs in the bin/ directory IUUQEPDTDBTQFSKTPSHFOMBUFTUJOTUBMMBUJPOIUNM
JOTUBMMPO.BD CSFXJOTUBMMDBTQFSKT
TBNQMFKT var casper = require('casper').create(); casper.start('http://casperjs.org/', function() { this.echo(this.getTitle()); });
casper.thenOpen('http://phantomjs.org', function() { this.echo(this.getTitle()); }); casper.run(); IUUQEPDTDBTQFSKTPSHFOMBUFTURVJDLTUBSUIUNM
TBNQMFDP⒎FF casper = require('casper').create() casper.start "http://www.google.co.jp/", -> @fill "form[action='/search']", q:
"casperjs", true casper.then -> @fill @getTitle() casper.run()
SFTVMU $ casperjs test quickstart.coffee Test file: quickstart.coffee casperjs -
Google ݕࡧ
IFMQGVMSFTPVSDFT IUUQTTQFBLFSEFDLDPNOBPZB KBWBTDSJQUIVSPOUPFOEPLBJGBGBMTF[VPKJO
FOE