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
Selenium再入門
Search
Yu Watanabe
July 19, 2017
Technology
0
51
Selenium再入門
W3C勧告とページオブジェクトパターンと私
Yu Watanabe
July 19, 2017
Tweet
Share
More Decks by Yu Watanabe
See All by Yu Watanabe
JUnitテストをCI環境で並列で実行する方法とその速度, スケーラビリティ
nabedge
5
2.4k
クラウド時代だからSpring-Retryフレームワーク
nabedge
0
260
ツール比較しながら語るO/RマッパーとDBマイグレーション
nabedge
0
120
JavaでWebサービスを作り続けるための戦略と戦術
nabedge
0
65
サーバーサイドな人がフロントエンド技術と仲良くするはじめの一歩
nabedge
0
56
Webエンジニアがスタートダッシュをキメるためのローカル開発環境の勘所
nabedge
0
55
テストゼロからイチに進むための戦略と戦術
nabedge
0
65
jOOQってなんて読むの?から始めるSpringBootとO/Rマッパーの世界
nabedge
0
100
あなたのプロジェクトが気軽にJavaをバージョンアップするために必要なこと
nabedge
0
43
Other Decks in Technology
See All in Technology
20250707-AI活用の個人差を埋めるチームづくり
shnjtk
4
3.6k
Operating Operator
shhnjk
1
510
なぜ私はいま、ここにいるのか? #もがく中堅デザイナー #プロダクトデザイナー
bengo4com
0
1.3k
無意味な開発生産性の議論から抜け出すための予兆検知とお金とAI
i35_267
3
11k
生成AI活用の組織格差を解消する 〜ビジネス職のCursor導入が開発効率に与えた好循環〜 / Closing the Organizational Gap in AI Adoption
upamune
7
5.1k
ネットワーク保護はどう変わるのか?re:Inforce 2025最新アップデート解説
tokushun
0
180
Should Our Project Join the CNCF? (Japanese Recap)
whywaita
PRO
0
330
Delegating the chores of authenticating users to Keycloak
ahus1
0
140
KubeCon + CloudNativeCon Japan 2025 Recap Opening & Choose Your Own Adventureシリーズまとめ
mmmatsuda
0
260
Lazy application authentication with Tailscale
bluehatbrit
0
170
生まれ変わった AWS Security Hub (Preview) を紹介 #reInforce_osaka / reInforce New Security Hub
masahirokawahara
0
440
論文紹介:LLMDet (CVPR2025 Highlight)
tattaka
0
310
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
Fireside Chat
paigeccino
37
3.5k
What's in a price? How to price your products and services
michaelherold
246
12k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Faster Mobile Websites
deanohume
307
31k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
5
270
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.5k
Testing 201, or: Great Expectations
jmmastey
42
7.6k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.5k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Transcript
Selenium再入門 W3C勧告とページオブジェクトパターンと私 Webエンジニア勉強会#2 at 神田 2017-07-22 Sat @nabedge
Who ? • わたなべ • (株)ビズリーチ • twitter: @nabedge •
github: nabedge • http://www.slideshare.net/nabedg e/presentations
アンケート:主な言語は? • Java • C#, .NET系 • Ruby, PHP •
JavaScript (Node.js的な)
アンケート:Selenium歴は? 1. いまも仕事で使ってる 2. 仕事で使おうとしたけどあきらめた 3. Hello World程度なら書いて動かしたことがある 4. 「セレニウム」っていう発音でいいんだと思って
ホッとしている。
None
None
おわび • ヘッドレスChromeの話もする、 とconnpass.comに書きましたが、 あれは嘘だ。申し訳ありません。
とりあえずデモをご覧ください
これ、わかりますよね? document.getElmementById(“foo”) document.getElementsByTagName(“div”)
2004年ごろのSelenium
None
Selenium1.x • 実行エンジンはJS • テストコマンドはtable,tr,tdタグの中に書く ◦ コマンドをJSとしてeval()しながら実行 • テスト対象のアプリケーションに同梱して起動 •
ブラウザでアクセスして実行frameのボタンを操作
セキュリティのジレンマ • JSのクロスドメイン問題 • frameタグなんてもうオワコンだよね • (このあたりでWebDriver登場) • FireFox48事件
WebDriver
https://www.edureka.co/blog/selenium-tutorial
None
None
サンプルコード解説 https://github.com/nabedge/web-study-selenium
支援ツール • Selenide ◦ http://qiita.com/tatesuke/items/589e30ab9b3dc7037e26 • Fluentlenium ◦ http://fluentlenium.org/ •
Zalenium ◦ https://github.com/zalando/zalenium
QAを極めたいエンジニア募集! https://www.bizreach.co.jp/recruit/
渋谷でも勉強会やってます