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
Introduce CasperJS
Search
Takayuki Matsubara
October 11, 2013
Programming
0
190
Introduce CasperJS
Introduce CasperJS. Easy way for browser testing.
M3 TechTalk #11 LT slide.
#m3dev
Takayuki Matsubara
October 11, 2013
Tweet
Share
More Decks by Takayuki Matsubara
See All by Takayuki Matsubara
Rails Web Development with AWS Lambda
ma2gedev
0
300
Coding Challenge Advent of Code 2019
ma2gedev
0
140
Developer Experience in GraphQL Schema-first Development
ma2gedev
0
2.3k
Dependency Inversion Principle in Keyboard Firmware
ma2gedev
0
490
OSSの歩き方 / Walking with OSS
ma2gedev
10
2.6k
GraphQL 開発で必要になったこと / What we needed for GraphQL development
ma2gedev
0
1.2k
キーボードをカスタムしてプログラミング環境を良くした話 / Improved programming environment with customizing keybords
ma2gedev
0
1.3k
Translating "Erlang in Anger" with Erlang & Elixir community members
ma2gedev
0
2.8k
Dive into Elixir v1.6 Code Formatter
ma2gedev
1
180
Other Decks in Programming
See All in Programming
為你自己學 Python - 冷知識篇
eddie
1
310
Portapad紹介プレゼンテーション
gotoumakakeru
1
130
AIコーディングAgentとの向き合い方
eycjur
0
250
A Gopher's Guide to Vibe Coding
danicat
0
200
物語を動かす行動"量" #エンジニアニメ
konifar
14
5.7k
デザインシステムが必須の時代に
yosuke_furukawa
PRO
2
130
レガシープロジェクトで最大限AIの恩恵を受けられるようClaude Codeを利用する
tk1351
4
1.5k
AI時代に学習する意味はあるのか?
tomoyakamaji
0
100
🔨 小さなビルドシステムを作る
momeemt
2
630
私の後悔をAWS DMSで解決した話
hiramax
4
180
AIでLINEスタンプを作ってみた
eycjur
1
220
コンテキストエンジニアリング Cursor編
kinopeee
1
730
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1032
460k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
11
1.1k
Designing for Performance
lara
610
69k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
Optimizing for Happiness
mojombo
379
70k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
KATA
mclloyd
32
14k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.4k
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