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
180
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
150
Coding Challenge Advent of Code 2019
ma2gedev
0
97
Developer Experience in GraphQL Schema-first Development
ma2gedev
0
2k
Dependency Inversion Principle in Keyboard Firmware
ma2gedev
0
350
OSSの歩き方 / Walking with OSS
ma2gedev
10
2.4k
GraphQL 開発で必要になったこと / What we needed for GraphQL development
ma2gedev
0
920
キーボードをカスタムしてプログラミング環境を良くした話 / Improved programming environment with customizing keybords
ma2gedev
0
1.1k
Translating "Erlang in Anger" with Erlang & Elixir community members
ma2gedev
0
2.7k
Dive into Elixir v1.6 Code Formatter
ma2gedev
1
140
Other Decks in Programming
See All in Programming
Deep Dive 大規模システムアーキテクチャ/開発組織エンジニアリング / Deep Dive Large-Scale System Architecture, Development Organization Engineering
nrslib
15
2.9k
ファイル先頭の use の意味、説明できますか? 〜PHP の namespace と autoloading の関係を正しく理解しよう〜 / namespace and autoloading in php
okashoi
2
470
チームでモデリングを育てるうえで 考えたこと・気づいたこと / Cultivating Modeling in Teams: Thoughts and Insights
mackey0225
5
1.7k
Kotlinを用いたDSL的な設計手法と使用上の注意
kohii00
3
530
上手な探索的テストとその上達方法について
matsu802
4
650
OpenAPI を守るのは難しい
ohmori_yusuke
1
140
どうしてこうなった命名集 ~🔥編~ / OOC 2024 LT
pictiny
4
2.7k
GitHub Copilot Tips and Tricks
yuichielectric
26
7.4k
BuefyのMaintainerを引き継いだ件
kikuomax
0
510
とにかくHTTP3をライトニングに話す / Anyway, I'll talk to Lightning about HTTP3.
seike460
PRO
0
120
Creating Retro-Style Photos Using Swift
ski
1
340
20240301_cocone_EMゆるミートアップvol6_LT資料
cocone
0
310
Featured
See All Featured
Designing on Purpose - Digital PM Summit 2013
jponch
109
6.4k
RailsConf 2023
tenderlove
0
510
How STYLIGHT went responsive
nonsquared
92
4.7k
Optimizing for Happiness
mojombo
369
69k
Become a Pro
speakerdeck
PRO
8
4.4k
In The Pink: A Labor of Love
frogandcode
137
21k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
Done Done
chrislema
178
15k
Learning to Love Humans: Emotional Interface Design
aarron
266
39k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
219
21k
10 Git Anti Patterns You Should be Aware of
lemiorhan
644
57k
The Mythical Team-Month
searls
214
42k
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