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
230
Coding Challenge Advent of Code 2019
ma2gedev
0
120
Developer Experience in GraphQL Schema-first Development
ma2gedev
0
2.1k
Dependency Inversion Principle in Keyboard Firmware
ma2gedev
0
440
OSSの歩き方 / Walking with OSS
ma2gedev
10
2.5k
GraphQL 開発で必要になったこと / What we needed for GraphQL development
ma2gedev
0
1.1k
キーボードをカスタムしてプログラミング環境を良くした話 / 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
160
Other Decks in Programming
See All in Programming
20241217 競争力強化とビジネス価値創出への挑戦:モノタロウのシステムモダナイズ、開発組織の進化と今後の展望
monotaro
PRO
0
230
オニオンアーキテクチャを使って、 Unityと.NETでコードを共有する
soi013
0
350
traP の部内 ISUCON とそれを支えるポータル / PISCON Portal
ikura_hamu
0
140
React 19でお手軽にCSS-in-JSを自作する
yukukotani
5
530
テストコードのガイドライン 〜作成から運用まで〜
riku929hr
6
1.3k
rails newと同時に型を書く
aki19035vc
5
610
良いユニットテストを書こう
mototakatsu
11
3.5k
サーバーゆる勉強会 DBMS の仕組み編
kj455
1
200
ISUCON14感想戦で85万点まで頑張ってみた
ponyo877
1
210
shadcn/uiを使ってReactでの開発を加速させよう!
lef237
0
240
週次リリースを実現するための グローバルアプリ開発
tera_ny
1
750
20年もののレガシープロダクトに 0からPHPStanを入れるまで / phpcon2024
hirobe1999
0
980
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
112
50k
The Cost Of JavaScript in 2023
addyosmani
46
7.2k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
230
52k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
The Language of Interfaces
destraynor
155
24k
Designing for humans not robots
tammielis
250
25k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
YesSQL, Process and Tooling at Scale
rocio
170
14k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.3k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.8k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.1k
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